diff options
-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 | }; |