mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
parent
2b85b2df9c
commit
4cd24ddfc4
1 changed files with 1 additions and 4 deletions
|
|
@ -71,10 +71,7 @@ in
|
||||||
key = config.sops.secrets."nebula/host-key".path;
|
key = config.sops.secrets."nebula/host-key".path;
|
||||||
|
|
||||||
tun.device = netCfg.overlay.interface;
|
tun.device = netCfg.overlay.interface;
|
||||||
listen = {
|
listen.port = lib.mkIf netCfg.underlay.isPublic publicPort;
|
||||||
host = netCfg.underlay.address;
|
|
||||||
port = lib.mkIf netCfg.underlay.isPublic publicPort;
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit (netCfg.overlay) isLighthouse;
|
inherit (netCfg.overlay) isLighthouse;
|
||||||
lighthouses = lib.mkIf (!netCfg.overlay.isLighthouse) (
|
lighthouses = lib.mkIf (!netCfg.overlay.isLighthouse) (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue