diff --git a/modules/system/services/nebula/default.nix b/modules/system/services/nebula/default.nix index 8f15db3..d1efced 100644 --- a/modules/system/services/nebula/default.nix +++ b/modules/system/services/nebula/default.nix @@ -71,7 +71,10 @@ in key = config.sops.secrets."nebula/host-key".path; tun.device = netCfg.overlay.interface; - listen.port = lib.mkIf netCfg.underlay.isPublic publicPort; + listen = { + host = netCfg.underlay.address; + port = lib.mkIf netCfg.underlay.isPublic publicPort; + }; inherit (netCfg.overlay) isLighthouse; lighthouses = lib.mkIf (!netCfg.overlay.isLighthouse) (