diff options
Diffstat (limited to 'modules/yggdrasil-wg')
-rw-r--r-- | modules/yggdrasil-wg/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 9ab33fa1..6dc23614 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix | |||
@@ -188,6 +188,9 @@ in { | |||
188 | Name = "yggdrasil"; | 188 | Name = "yggdrasil"; |
189 | Kind = "batadv"; | 189 | Kind = "batadv"; |
190 | }; | 190 | }; |
191 | batmanAdvancedConfig = { | ||
192 | Fragmentation = false; | ||
193 | }; | ||
191 | }; | 194 | }; |
192 | } // listToAttrs (map familyToYggdrasilDev hostFamilies) // listToAttrs (concatMap (family: map (linkToGreDev family) hostLinks.${family}) hostFamilies); | 195 | } // listToAttrs (map familyToYggdrasilDev hostFamilies) // listToAttrs (concatMap (family: map (linkToGreDev family) hostLinks.${family}) hostFamilies); |
193 | 196 | ||
@@ -218,6 +221,7 @@ in { | |||
218 | linkConfig = { | 221 | linkConfig = { |
219 | MACAddress = "${batHostMACs.${hostName}}"; | 222 | MACAddress = "${batHostMACs.${hostName}}"; |
220 | RequiredForOnline = false; | 223 | RequiredForOnline = false; |
224 | MTUBytes = 1280; | ||
221 | }; | 225 | }; |
222 | }; | 226 | }; |
223 | } // listToAttrs (map familyToYggdrasilNetwork hostFamilies) // listToAttrs (concatMap (family: imap0 (linkToGreNetwork family) hostLinks.${family}) hostFamilies); | 227 | } // listToAttrs (map familyToYggdrasilNetwork hostFamilies) // listToAttrs (concatMap (family: imap0 (linkToGreNetwork family) hostLinks.${family}) hostFamilies); |