diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-23 15:40:42 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-23 15:40:42 +0200 |
commit | 3aa74950b3099e75a6ef30333359ae5cec4e26d2 (patch) | |
tree | 3467b76827609a3eb66337f6fff17166e05118cf /modules/yggdrasil-wg | |
parent | 941c01735ecea6455d9a08116df369928be714a3 (diff) | |
download | nixos-3aa74950b3099e75a6ef30333359ae5cec4e26d2.tar nixos-3aa74950b3099e75a6ef30333359ae5cec4e26d2.tar.gz nixos-3aa74950b3099e75a6ef30333359ae5cec4e26d2.tar.bz2 nixos-3aa74950b3099e75a6ef30333359ae5cec4e26d2.tar.xz nixos-3aa74950b3099e75a6ef30333359ae5cec4e26d2.zip |
yggdrasil-wg: ...
Diffstat (limited to 'modules/yggdrasil-wg')
-rw-r--r-- | modules/yggdrasil-wg/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index b6d9a3e8..5a20c76f 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix | |||
@@ -138,9 +138,6 @@ in { | |||
138 | Name = "yggdrasil"; | 138 | Name = "yggdrasil"; |
139 | Kind = "batadv"; | 139 | Kind = "batadv"; |
140 | }; | 140 | }; |
141 | linkConfig = { | ||
142 | MACAddress = "${batHostMACs.${hostName}}"; | ||
143 | }; | ||
144 | }; | 141 | }; |
145 | } // listToAttrs (map linkToGreDev hostLinks); | 142 | } // listToAttrs (map linkToGreDev hostLinks); |
146 | 143 | ||
@@ -177,6 +174,7 @@ in { | |||
177 | } | 174 | } |
178 | ]; | 175 | ]; |
179 | linkConfig = { | 176 | linkConfig = { |
177 | MACAddress = "${batHostMACs.${hostName}}"; | ||
180 | RequiredForOnline = false; | 178 | RequiredForOnline = false; |
181 | }; | 179 | }; |
182 | }; | 180 | }; |