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: {