From d3a39415914d92dcf99fc082f208492050a2ff32 Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 3 May 2026 01:47:38 +0200 Subject: [PATCH] keepalive --- systems/gateway/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/gateway/default.nix b/systems/gateway/default.nix index dfa398f..1106fd0 100644 --- a/systems/gateway/default.nix +++ b/systems/gateway/default.nix @@ -14,6 +14,9 @@ in { settings = { PasswordAuthentication = false; PermitRootLogin = "prohibit-password"; + ClientAliveInterval = 60; + ClientAliveCountMax = 3; + TCPKeepAlive = true; }; }; users.users = lib.mapAttrs (name: userList: {