summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-22 15:25:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-22 15:25:20 +0100
commitd9ec9cd422dfb0a4356b5d8b46525cb991182be2 (patch)
tree9b7d4809a626cd986bb6a6ca9150d0554af389b2 /modules
parente056884069b462e3674aced35f42108d1ff1f49f (diff)
downloadnixos-d9ec9cd422dfb0a4356b5d8b46525cb991182be2.tar
nixos-d9ec9cd422dfb0a4356b5d8b46525cb991182be2.tar.gz
nixos-d9ec9cd422dfb0a4356b5d8b46525cb991182be2.tar.bz2
nixos-d9ec9cd422dfb0a4356b5d8b46525cb991182be2.tar.xz
nixos-d9ec9cd422dfb0a4356b5d8b46525cb991182be2.zip
yggdrasil-wg: no batadv fragmentation
Diffstat (limited to 'modules')
-rw-r--r--modules/yggdrasil-wg/default.nix4
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);