summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-16 09:42:40 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-16 09:42:40 +0100
commit9305bd27275e32b987e6fab09f6316399f145f50 (patch)
tree45f6ee03dab512699fc8efc16294d41491a6a9ee
parente2e7587cfa7497aba164ec0e338791999479b56b (diff)
downloadnixos-9305bd27275e32b987e6fab09f6316399f145f50.tar
nixos-9305bd27275e32b987e6fab09f6316399f145f50.tar.gz
nixos-9305bd27275e32b987e6fab09f6316399f145f50.tar.bz2
nixos-9305bd27275e32b987e6fab09f6316399f145f50.tar.xz
nixos-9305bd27275e32b987e6fab09f6316399f145f50.zip
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 cbe09955..b1f6e6dc 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: concatMap (family: { routeConfig = { Destination = "::/0"; Metric = 1; Gateway = wgHostIPs.${family}.${router}; }; }) families) routers); 206 ] ++ (concatMap (router: map (family: { routeConfig = { Destination = "::/0"; Metric = 1; Gateway = wgHostIPs.${family}.${router}; }; }) families) routers);
207 linkConfig = { 207 linkConfig = {
208 MACAddress = "${batHostMACs.${hostName}}"; 208 MACAddress = "${batHostMACs.${hostName}}";
209 RequiredForOnline = false; 209 RequiredForOnline = false;