feat: Nebula mesh network overlay #12
@@ -152,7 +152,8 @@ in
|
|||||||
|
|
||||||
listen = {
|
listen = {
|
||||||
host = "0.0.0.0";
|
host = "0.0.0.0";
|
||||||
port = cfg.port;
|
# Lighthouses and relays need a fixed port; regular nodes use 0 (OS-assigned)
|
||||||
|
port = if (cfg.isLighthouse || cfg.isRelay) then cfg.port else null;
|
||||||
};
|
};
|
||||||
|
|
||||||
lighthouses = lib.optionals (!cfg.isLighthouse) [ cfg.lighthouseNebulaIp ];
|
lighthouses = lib.optionals (!cfg.isLighthouse) [ cfg.lighthouseNebulaIp ];
|
||||||
|
|||||||
Reference in New Issue
Block a user