summaryrefslogtreecommitdiff
path: root/modules/yggdrasil-wg
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-16 09:57:40 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-16 09:57:40 +0100
commita9aeb6a12f47d4121a5bf6e672efb8a9893c13a3 (patch)
tree440c38a19ef9e75af87d580e3362da181dd81ae1 /modules/yggdrasil-wg
parent6306587d51b692562caa70ab8caa8161d64caa9b (diff)
downloadnixos-a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3.tar
nixos-a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3.tar.gz
nixos-a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3.tar.bz2
nixos-a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3.tar.xz
nixos-a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3.zip
yggdrasil-wg: ...
Diffstat (limited to 'modules/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 4b93da57..67d73b70 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -203,7 +203,7 @@ in {
203 Destination = "${batSubnet}::/${toString batSubnetLength}"; 203 Destination = "${batSubnet}::/${toString batSubnetLength}";
204 }; 204 };
205 } 205 }
206 ] ++ (concatMap (router: map (rAddr: { routeConfig = { Destination = "::/0"; Metric = 1; Gateway = stripSubnet rAddr; }; }) batHostIPs.${router}) routers); 206 ] ++ (concatMap (router: map (rAddr: { routeConfig = { Destination = "::/0"; Metric = 2048; Gateway = stripSubnet rAddr; }; }) batHostIPs.${router}) routers);
207 linkConfig = { 207 linkConfig = {
208 MACAddress = "${batHostMACs.${hostName}}"; 208 MACAddress = "${batHostMACs.${hostName}}";
209 RequiredForOnline = false; 209 RequiredForOnline = false;