settei/sane-defaults: make tailscale interface trusted by default
This commit is contained in:
parent
84166ab1b7
commit
32d458c26e
2 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,6 @@
|
||||||
hostName = "legion";
|
hostName = "legion";
|
||||||
hostId = builtins.substring 0 8 (builtins.readFile ./machine-id);
|
hostId = builtins.substring 0 8 (builtins.readFile ./machine-id);
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
firewall.trustedInterfaces = [ "tailscale0" ];
|
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
};
|
};
|
||||||
systemd.services.NetworkManager-wait-online.enable = false;
|
systemd.services.NetworkManager-wait-online.enable = false;
|
||||||
|
|
|
@ -29,6 +29,7 @@ let
|
||||||
|
|
||||||
# FIXME: Move to common
|
# FIXME: Move to common
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
|
|
||||||
networking.hostName = lib.mkDefault (
|
networking.hostName = lib.mkDefault (
|
||||||
args.configurationName
|
args.configurationName
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue