diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-02 19:28:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-02 19:28:48 +0100 |
commit | dc0e644acd421aec1672a00cffa8993db89d52b4 (patch) | |
tree | 7d909a158693edbc64b4fa41049285d812cc8605 | |
parent | 78f73470c7eae1739feaf3827d0aec36f80aa486 (diff) | |
download | Nix-dc0e644acd421aec1672a00cffa8993db89d52b4.tar.gz Nix-dc0e644acd421aec1672a00cffa8993db89d52b4.tar.zst Nix-dc0e644acd421aec1672a00cffa8993db89d52b4.zip |
Add missing default route for ip6
-rw-r--r-- | modules/private/system/backup-2.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 84e52d5..f241ad1 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix | |||
@@ -32,6 +32,7 @@ | |||
32 | interfaces."ens3".ipv6.addresses = pkgs.lib.flatten (pkgs.lib.attrsets.mapAttrsToList | 32 | interfaces."ens3".ipv6.addresses = pkgs.lib.flatten (pkgs.lib.attrsets.mapAttrsToList |
33 | (n: ips: map (ip: { address = ip; prefixLength = (if n == "main" && ip == pkgs.lib.head ips.ip6 then 64 else 128); }) (ips.ip6 or [])) | 33 | (n: ips: map (ip: { address = ip; prefixLength = (if n == "main" && ip == pkgs.lib.head ips.ip6 then 64 else 128); }) (ips.ip6 or [])) |
34 | config.myEnv.servers.backup-2.ips); | 34 | config.myEnv.servers.backup-2.ips); |
35 | defaultGateway6 = { address = "fe80::1"; interface = "ens3"; }; | ||
35 | 36 | ||
36 | defaultMailServer = { | 37 | defaultMailServer = { |
37 | directDelivery = true; | 38 | directDelivery = true; |