update backup module to use /run/agenix/borg-key for key location

This commit is contained in:
Anish Lakhwara 2023-01-13 21:22:10 +10:00
parent 4bb578ac1a
commit b8d7e4117e

View file

@ -43,7 +43,7 @@ in
mode = "repokey-blake2";
passCommand = "cat /run/agenix/borg-password";
};
environment = { BORG_RSH = "ssh -i /root/borg/borg-key"; }; # YOU NEED TO PUT THIS HERE MANUALLY
environment = { BORG_RSH = "ssh -i /run/agenix/borg-key"; };
compression = "auto,lzma";
startAt = "daily";
extraArgs = "--remote-path=borg1";