manual_inherit
This commit is contained in:
@@ -115,20 +115,21 @@ let
|
||||
'';
|
||||
|
||||
services.nebula.networks.${cfg.networkName} = {
|
||||
inherit (cfg)
|
||||
isLighthouse
|
||||
isRelay
|
||||
lighthouses
|
||||
staticHostMap
|
||||
;
|
||||
enable = true;
|
||||
enableReload = true;
|
||||
isLighthouse = cfg.isLighthouse;
|
||||
isRelay = cfg.isRelay;
|
||||
inherit ca cert key;
|
||||
|
||||
lighthouses = cfg.lighthouses;
|
||||
staticHostMap = cfg.staticHostMap;
|
||||
|
||||
tun.device = if cfg.tunDevice != null then cfg.tunDevice else "nebula0";
|
||||
|
||||
listen = {
|
||||
host = cfg.listenAddress;
|
||||
port = cfg.port;
|
||||
inherit (cfg) port;
|
||||
};
|
||||
|
||||
settings.firewall = {
|
||||
|
||||
Reference in New Issue
Block a user