mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
nebula: Enable relay support
This commit is contained in:
parent
d676c79d58
commit
2b85b2df9c
1 changed files with 4 additions and 1 deletions
|
|
@ -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) (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue