mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
modules.services.tailscale: do not set default dns on device
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user