},
"locked": {
"lastModified": 1,
- "narHash": "sha256-eMtBwFev8mR4UddJmG/pTlS2Xh4/LTckEpdiz3a2cOk=",
+ "narHash": "sha256-RMKq47gsekcw+bpRXj4Es8p3bBCNg4tmDqcg8PAbovs=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-NjuGFIxBJ3hIxk2fnZeQOvWa+jDHbGsIRpKT5I+cRz4=",
+ "narHash": "sha256-ozjB87SNwkQLQH2nkkIQJqC3HoewYe1z1PoyiNGmtcM=",
"path": "../systems/zoldene",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-eMtBwFev8mR4UddJmG/pTlS2Xh4/LTckEpdiz3a2cOk=",
+ "narHash": "sha256-RMKq47gsekcw+bpRXj4Es8p3bBCNg4tmDqcg8PAbovs=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-NjuGFIxBJ3hIxk2fnZeQOvWa+jDHbGsIRpKT5I+cRz4=",
+ "narHash": "sha256-ozjB87SNwkQLQH2nkkIQJqC3HoewYe1z1PoyiNGmtcM=",
"path": "../systems/zoldene",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-NjuGFIxBJ3hIxk2fnZeQOvWa+jDHbGsIRpKT5I+cRz4=",
+ "narHash": "sha256-ozjB87SNwkQLQH2nkkIQJqC3HoewYe1z1PoyiNGmtcM=",
"path": "../systems/zoldene",
"type": "path"
},
firewall.allowedUDPPorts = [ 43484 ];
# needed for initrd proper network setup too
useDHCP = lib.mkDefault true;
+ interfaces."enp0s31f6".ipv6.addresses = pkgs.lib.flatten (pkgs.lib.attrsets.mapAttrsToList
+ (n: ips: map (ip: { address = ip; prefixLength = (if n == "main" && ip == pkgs.lib.head ips.ip6 then 64 else 128); }) (ips.ip6 or []))
+ config.hostEnv.ips);
+ defaultGateway6 = {
+ address = "fe80::1";
+ interface = "enp0s31f6";
+ };
+ nameservers = [
+ "185.12.64.1"
+ "185.12.64.2"
+ "2a01:4ff:ff00::add:1"
+ "2a01:4ff:ff00::add:2"
+ ];
wireguard.interfaces.wg0 = {
generatePrivateKeyFile = true;