nebula: add nebula.nebula to trustedInterfaces

This commit is contained in:
陈浩南 2023-09-03 16:10:12 +08:00
parent 3671fde36b
commit 1a8b47032f

View File

@ -46,10 +46,7 @@ inputs:
}; };
secrets."nebula/key" = {}; secrets."nebula/key" = {};
}; };
networking.firewall = if nebula.lighthouse != null then {} else networking.firewall = { trustedInterfaces = [ "nebula.nebula" ]; }
{ // (if nebula.lighthouse != null then {} else { allowedTCPPorts = [ 4242 ]; allowedUDPPorts = [ 4242 ]; });
allowedTCPPorts = [ 4242 ];
allowedUDPPorts = [ 4242 ];
};
}; };
} }