modules.services.tailscale: do not set default dns on device

This commit is contained in:
2025-11-09 10:15:11 +08:00
parent 082122bf41
commit 1bf09e1810

View File

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