point the password to the right place for borg
This commit is contained in:
parent
6ae1da08e1
commit
401f2c3a3c
|
@ -1,4 +1,4 @@
|
|||
{ profiles, suites, ... }:
|
||||
{ self, profiles, suites, ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
|
|
|
@ -42,7 +42,7 @@ in
|
|||
repo = "20779@hk-s020.rsync.net:${cfg.name}";
|
||||
encryption = {
|
||||
mode = "repokey-blake2";
|
||||
passCommand = "cat /run/keys/borg-password";
|
||||
passCommand = "cat /run/agenix/borg-password";
|
||||
};
|
||||
environment = { BORG_RSH = "ssh -i /root/borg/borg-key"; }; # YOU NEED TO PUT THIS HERE MANUALLY
|
||||
compression = "auto,lzma";
|
||||
|
|
Loading…
Reference in a new issue