summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-17 21:56:51 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-17 21:56:51 +0200
commita8fc9f492911dcb436469951d68d0fd44e9cf8b1 (patch)
treea99b3cc474f768eb40a4c6e4ba7e280abdbdfcae /modules
parent3b9a1c5090dd141acf7c5b3bf3e745ff478fea5d (diff)
downloadnixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar
nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.gz
nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.bz2
nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.tar.xz
nixos-a8fc9f492911dcb436469951d68d0fd44e9cf8b1.zip
yggdrasil-wg: ...
Diffstat (limited to 'modules')
-rw-r--r--modules/yggdrasil-wg/default.nix4
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 ];