From cea0bded1c7d020b662bcc2eb451db284e66f98a Mon Sep 17 00:00:00 2001 From: chn Date: Mon, 12 May 2025 13:36:55 +0800 Subject: [PATCH] modules.services.wireguard: always persistentKeepalive --- modules/services/wireguard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/wireguard.nix b/modules/services/wireguard.nix index 3f436e7a..0a9908d5 100644 --- a/modules/services/wireguard.nix +++ b/modules/services/wireguard.nix @@ -39,7 +39,7 @@ inputs: { inherit (peer) name; inherit (peer.value) publicKey allowedIPs endpoint; - persistentKeepalive = if peer.value.endpoint != null then 10 else null; + persistentKeepalive = 10; }) (inputs.localLib.attrsToList wg.value.peer); };