diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-17 21:56:51 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-17 21:56:51 +0200 |
commit | a8fc9f492911dcb436469951d68d0fd44e9cf8b1 (patch) | |
tree | a99b3cc474f768eb40a4c6e4ba7e280abdbdfcae /modules/yggdrasil-wg/default.nix | |
parent | 3b9a1c5090dd141acf7c5b3bf3e745ff478fea5d (diff) | |
download | nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.gz nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.bz2 nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.xz nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.zip |
yggdrasil-wg: ...
Diffstat (limited to 'modules/yggdrasil-wg/default.nix')
-rw-r--r-- | modules/yggdrasil-wg/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index ca683aad..a09b1d99 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix | |||
@@ -150,7 +150,7 @@ in { | |||
150 | address = [wgHostIPs.${hostName}]; | 150 | address = [wgHostIPs.${hostName}]; |
151 | routes = [ | 151 | routes = [ |
152 | { routeConfig = { | 152 | { routeConfig = { |
153 | Destination = "${wgSubnet}/${toString wgSubnetLength}"; | 153 | Destination = "${wgSubnet}::/${toString wgSubnetLength}"; |
154 | }; | 154 | }; |
155 | } | 155 | } |
156 | ]; | 156 | ]; |
@@ -169,7 +169,7 @@ in { | |||
169 | address = batHostIPs.${hostName}; | 169 | address = batHostIPs.${hostName}; |
170 | routes = [ | 170 | routes = [ |
171 | { routeConfig = { | 171 | { routeConfig = { |
172 | Destination = "${batSubnet}/${toString batSubnetLength}"; | 172 | Destination = "${batSubnet}::/${toString batSubnetLength}"; |
173 | }; | 173 | }; |
174 | } | 174 | } |
175 | ]; | 175 | ]; |