point the password to the right place for borg

This commit is contained in:
Anish L 2022-06-14 16:16:34 +10:00
parent 6ae1da08e1
commit 401f2c3a3c
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ profiles, suites, ... }:
{ self, profiles, suites, ... }:
{
imports = [
./configuration.nix

View file

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