Add keealive setting for borg client
This commit is contained in:
parent
bd37c37a0c
commit
a8dd25576e
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue