settei/sane-defaults: make tailscale interface trusted by default

This commit is contained in:
Nikodem Rabuliński 2024-05-26 18:25:20 +02:00
parent 84166ab1b7
commit 32d458c26e
2 changed files with 1 additions and 1 deletions

View file

@ -30,7 +30,6 @@
hostName = "legion";
hostId = builtins.substring 0 8 (builtins.readFile ./machine-id);
networkmanager.enable = true;
firewall.trustedInterfaces = [ "tailscale0" ];
nftables.enable = true;
};
systemd.services.NetworkManager-wait-online.enable = false;

View file

@ -29,6 +29,7 @@ let
# FIXME: Move to common
services.tailscale.enable = true;
networking.firewall.trustedInterfaces = [ "tailscale0" ];
networking.hostName = lib.mkDefault (
args.configurationName