borgbackup: use the correct ssh key
This commit is contained in:
parent
f39f1e58a2
commit
221b653126
|
@ -35,6 +35,9 @@ in
|
||||||
mode = "repokey";
|
mode = "repokey";
|
||||||
passCommand = "${borgPassCommand}";
|
passCommand = "${borgPassCommand}";
|
||||||
};
|
};
|
||||||
|
environment = {
|
||||||
|
BORG_RSH = "${pkgs.openssh}/bin/ssh -i /var/lib/borgbackup/sshkey";
|
||||||
|
};
|
||||||
compression = "auto,lz4";
|
compression = "auto,lz4";
|
||||||
startAt = "hourly";
|
startAt = "hourly";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue