feat: Nebula mesh network overlay #12

Merged
greg merged 9 commits from klaatu/nixos:feat/nebula-mesh into main 2026-04-04 03:03:53 +00:00
Showing only changes of commit f35e8c755c - Show all commits
+2 -1
View File
@@ -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 ];