From 17430ea40a12de82bb846edd23901425c9b96c1a Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 1 Mar 2021 20:21:27 -0800 Subject: [PATCH] nixos/nebula: Remove default punch option in favor of setting it through the settings option --- nixos/modules/services/networking/nebula.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nixos/modules/services/networking/nebula.nix b/nixos/modules/services/networking/nebula.nix index b936b2a1cf38..6402262b59cb 100644 --- a/nixos/modules/services/networking/nebula.nix +++ b/nixos/modules/services/networking/nebula.nix @@ -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}";