diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-16 09:47:51 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-16 09:47:51 +0100 |
commit | bc451e52b92b66647e318049051abb93233e874d (patch) | |
tree | d847c5a2345c805544fd3cf1e65d39bd9089b145 | |
parent | 9305bd27275e32b987e6fab09f6316399f145f50 (diff) | |
download | nixos-bc451e52b92b66647e318049051abb93233e874d.tar nixos-bc451e52b92b66647e318049051abb93233e874d.tar.gz nixos-bc451e52b92b66647e318049051abb93233e874d.tar.bz2 nixos-bc451e52b92b66647e318049051abb93233e874d.tar.xz nixos-bc451e52b92b66647e318049051abb93233e874d.zip |
yggdrasil-wg: ...
-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 b1f6e6dc..d7097e1d 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 (family: { routeConfig = { Destination = "::/0"; Metric = 1; Gateway = wgHostIPs.${family}.${router}; }; }) families) routers); | 206 | ] ++ (concatMap (router: map (Gateway: { routeConfig = { Destination = "::/0"; Metric = 1; inherit Gateway; }; }) batHostIPs.${router}) routers); |
207 | linkConfig = { | 207 | linkConfig = { |
208 | MACAddress = "${batHostMACs.${hostName}}"; | 208 | MACAddress = "${batHostMACs.${hostName}}"; |
209 | RequiredForOnline = false; | 209 | RequiredForOnline = false; |