From dcad5d0e51c5bd858be224f0379035ec4962a49f Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 21 Mar 2026 23:21:34 -0400 Subject: [PATCH] Assign 64 IPv6 addresses to server, for future rotation --- clients/quadraticserver/network.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/clients/quadraticserver/network.nix b/clients/quadraticserver/network.nix index 7cae6d7..7707281 100644 --- a/clients/quadraticserver/network.nix +++ b/clients/quadraticserver/network.nix @@ -4,15 +4,14 @@ enable = true; networks."30-wan" = { matchConfig.Name = "enp1s0"; - networkConfig = { - DHCP = "no"; - IPv6PrivacyExtensions = true; - }; + networkConfig.DHCP = "no"; address = [ "91.99.155.129/32" - "2a01:4f8:c012:d202::1/64" - ]; + ] + # Assign 64 IPv6 addresses + ++ builtins.genList (i: "2a01:4f8:c012:d202::${builtins.toString (i + 1)}/64") 64; + routes = [ { Gateway = "172.31.1.1";