diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-30 15:25:03 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-30 15:25:03 +0200 |
commit | 2ab0f45b3ea168b70475f3cf2478e68e6ac615eb (patch) | |
tree | a6dc672c626a0a9d8a4d241d2c1d1756418f6467 /modules/yggdrasil-wg/default.nix | |
parent | e9f823e35558314664837cc51f3d126bd8a63b3f (diff) | |
download | nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.gz nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.bz2 nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.tar.xz nixos-2ab0f45b3ea168b70475f3cf2478e68e6ac615eb.zip |
yggdrasil-wg: ...
Diffstat (limited to 'modules/yggdrasil-wg/default.nix')
-rw-r--r-- | modules/yggdrasil-wg/default.nix | 2 |
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 | }; |