global/ssh: attempt to keep ssh alive

This commit is contained in:
Infinidoge 2025-01-21 10:02:57 -05:00
parent a87c2cacff
commit c4fd35577d
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -9,6 +9,8 @@ with lib;
settings = {
X11Forwarding = mkDefault false;
GatewayPorts = mkDefault "yes";
ClientAliveInterval = 60;
TCPKeepAlive = "yes";
};
hostKeys = mkDefault [{
path = "/etc/ssh/ssh_host_ed25519_key";