summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 };