From 401f2c3a3c8da1df50fae1e0a0f10daa8709da5d Mon Sep 17 00:00:00 2001 From: Anish L Date: Tue, 14 Jun 2022 16:16:34 +1000 Subject: [PATCH] point the password to the right place for borg --- hosts/curve/default.nix | 2 +- modules/backup.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/curve/default.nix b/hosts/curve/default.nix index 6b2059eb..09cb4798 100644 --- a/hosts/curve/default.nix +++ b/hosts/curve/default.nix @@ -1,4 +1,4 @@ -{ profiles, suites, ... }: +{ self, profiles, suites, ... }: { imports = [ ./configuration.nix diff --git a/modules/backup.nix b/modules/backup.nix index ca3cbe5c..c5d462c7 100644 --- a/modules/backup.nix +++ b/modules/backup.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";