nixos/l2mesh: Set VXLAN MTU

This commit is contained in:
Jack O'Sullivan 2023-04-15 20:47:14 +01:00
parent 438f2c835d
commit 665f3407fa

View File

@ -27,6 +27,11 @@ let
Independent = true;
};
};
links."20-l2mesh-${name}" = {
matchConfig.Name = mesh.interface;
# TODO: ipv6? ipsec?
linkConfig.MTUBytes = "1450";
};
networks."90-l2mesh-${name}" = {
matchConfig.Name = mesh.interface;
extraConfig = concatStringsSep "\n" (mapAttrsToList (n: peer: ''