nixos/nebula: Remove default punch option in favor of setting it through the settings option
This commit is contained in:
parent
511465ade0
commit
17430ea40a
1 changed files with 0 additions and 11 deletions
|
@ -85,14 +85,6 @@ in
|
|||
description = "Port number to listen on.";
|
||||
};
|
||||
|
||||
punch = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Continues to punch inbound/outbound at a regular interval to avoid expiration of firewall nat mappings.
|
||||
'';
|
||||
};
|
||||
|
||||
tun.disable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
@ -164,9 +156,6 @@ in
|
|||
host = netCfg.listen.host;
|
||||
port = netCfg.listen.port;
|
||||
};
|
||||
punchy = {
|
||||
punch = netCfg.punch;
|
||||
};
|
||||
tun = {
|
||||
disabled = netCfg.tun.disable;
|
||||
dev = if (netCfg.tun.device != null) then netCfg.tun.device else "nebula.${netName}";
|
||||
|
|
Loading…
Reference in a new issue