modules.services.tailscale: fix

This commit is contained in:
2025-11-12 11:23:05 +08:00
parent cae25cbac1
commit 20c667bbfb

View File

@@ -11,8 +11,8 @@ inputs:
disableTaildrop = true;
# authKeyParameters should not be set
authKeyFile = inputs.config.nixos.system.sops.secrets."tailscale".path;
extraUpFlags = [ "--login-server=https://headscale.chn.moe" "--accept-dns=false" ];
extraSetFlags = [ "--accept-dns=false" ];
extraUpFlags = [ "--login-server=https://headscale.chn.moe" "--accept-dns=false" "--netfilter-mode=off" ];
extraSetFlags = [ "--accept-dns=false" "--netfilter-mode=off" ];
};
nixos.system.sops.secrets."tailscale" = {};
networking.firewall.trustedInterfaces = [ inputs.config.services.tailscale.interfaceName ];