diff options
author | Alan Pearce | 2024-05-31 00:24:48 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-31 00:24:48 +0200 |
commit | 754c82e8f28a79402135a8442ed689633d433c7e (patch) | |
tree | 1c49711388fac5800e843a8daa1b71b0544119a1 /system | |
parent | 7a39e5486b55f3f723ad664cfa741225940e86f6 (diff) | |
download | nixfiles-754c82e8f28a79402135a8442ed689633d433c7e.tar.lz nixfiles-754c82e8f28a79402135a8442ed689633d433c7e.tar.zst nixfiles-754c82e8f28a79402135a8442ed689633d433c7e.zip |
nanopi: prefer ipv6 tailscale address
Diffstat (limited to 'system')
-rwxr-xr-x | system/nanopi.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix index d55a6768..a37a1c4b 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -92,6 +92,9 @@ in hostName = "nanopi"; domain = domain; search = [ domain ]; + hosts = { + "fd7a:115c:a1e0::53" = [ "tailscale" "ts" ]; + }; useDHCP = false; useNetworkd = true; firewall = { @@ -479,7 +482,7 @@ in # smartdns # "127.0.0.1#5533" # "::1#5533" - "/ts.net/100.100.100.100" + "/ts.net/tailscale" ]; localise-queries = true; cname = [ |