update backup module to use /run/agenix/borg-key for key location
This commit is contained in:
@@ -43,7 +43,7 @@ in
|
|||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat /run/agenix/borg-password";
|
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";
|
compression = "auto,lzma";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
extraArgs = "--remote-path=borg1";
|
extraArgs = "--remote-path=borg1";
|
||||||
|
|||||||
Reference in New Issue
Block a user