borgbackup: use the correct ssh key

This commit is contained in:
Daniel Frank 2019-06-15 10:43:01 +02:00
parent f39f1e58a2
commit 221b653126
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -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";
}; };