summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-09-30 15:25:03 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-09-30 15:25:03 +0200
commit2ab0f45b3ea168b70475f3cf2478e68e6ac615eb (patch)
treea6dc672c626a0a9d8a4d241d2c1d1756418f6467
parente9f823e35558314664837cc51f3d126bd8a63b3f (diff)
downloadnixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar
nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.gz
nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.bz2
nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.xz
nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.zip
yggdrasil-wg: ...
-rw-r--r--modules/yggdrasil-wg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix
index dd7300de..1e253dc1 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -57,7 +57,7 @@ in {
57 peers = map linkToPeer hostLinks; 57 peers = map linkToPeer hostLinks;
58 privateKeyFile = config.sops.secrets."yggdrasil-wg.priv".path; 58 privateKeyFile = config.sops.secrets."yggdrasil-wg.priv".path;
59 postSetup = '' 59 postSetup = ''
60 ${pkgs.iproute2}/bin/ip route replace "${subnet}/${toString subnetLength}" dev "yggdrasil" table "main" 60 ${pkgs.iproute2}/bin/ip route replace "${subnet}::/${toString subnetLength}" dev "yggdrasil" table "main"
61 ''; 61 '';
62 }; 62 };
63 }; 63 };