nixos/l2mesh: Set VXLAN MTU
This commit is contained in:
		@@ -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: ''
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user