Add keealive setting for borg client

This commit is contained in:
Yan Lin 2025-09-14 13:17:19 +02:00
parent bd37c37a0c
commit a8dd25576e

View file

@ -122,8 +122,8 @@ in
sshCommand = mkOption {
type = types.str;
default = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new";
description = "SSH command for remote repositories (uses SSH config for host aliases)";
default = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=60 -o ServerAliveCountMax=240";
description = "SSH command for remote repositories (uses SSH config for host aliases with keepalive)";
};
preHook = mkOption {