From ac7fd4f4ea8460460a620a1403011c7470814da6 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 12 Mar 2021 07:03:52 -0500 Subject: fix backup --- config/borg-backup.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/borg-backup.nix b/config/borg-backup.nix index 1056a7b..f1cd04c 100644 --- a/config/borg-backup.nix +++ b/config/borg-backup.nix @@ -16,8 +16,8 @@ in path = with pkgs; [ borgbackup rsync openssh ]; startAt = "02:30"; environment = { - BORG_KEYS_DIR = "/opt/secret/borg-backup-keys/"; - REPOSITORY = repo; + BORG_KEY_FILE = "/opt/secret/borg-backup-keys/staging_backup"; + BORG_RELOCATED_REPO_ACCESS_IS_OK = "yes"; }; # serviceConfig = { # RemainAfterExit = true; -- cgit v1.2.3