]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add missing default route for ip6
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 2 Jan 2020 18:28:48 +0000 (19:28 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 2 Jan 2020 18:28:48 +0000 (19:28 +0100)
modules/private/system/backup-2.nix

index 84e52d59635546e922842ebf0ba957b781e875e6..f241ad1c45d40fda80ab4ec994003ff47fac7bd4 100644 (file)
@@ -32,6 +32,7 @@
     interfaces."ens3".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.myEnv.servers.backup-2.ips);
+    defaultGateway6 = { address = "fe80::1"; interface = "ens3"; };
 
     defaultMailServer = {
       directDelivery = true;