all repos — nixfiles @ 754c82e8f28a79402135a8442ed689633d433c7e

System and user configuration, managed by nix and home-manager

nanopi: prefer ipv6 tailscale address
Alan Pearce alan@alanpearce.eu
Fri, 31 May 2024 00:24:48 +0200
commit

754c82e8f28a79402135a8442ed689633d433c7e

parent

7a39e5486b55f3f723ad664cfa741225940e86f6

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M system/nanopi.nixsystem/nanopi.nix
@@ -92,6 +92,9 @@ networking = {     hostName = "nanopi";
     domain = domain;
     search = [ domain ];
+    hosts = {
+      "fd7a:115c:a1e0::53" = [ "tailscale" "ts" ];
+    };
     useDHCP = false;
     useNetworkd = true;
     firewall = {
@@ -479,7 +482,7 @@ "::1#5553"         # smartdns
         # "127.0.0.1#5533"
         # "::1#5533"
-        "/ts.net/100.100.100.100"
+        "/ts.net/tailscale"
       ];
       localise-queries = true;
       cname = [