From 3c182f558ba2a42912863b04ccef96033e2060b0 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 15 Jan 2024 01:51:33 -0500 Subject: [PATCH] sora: update restic --- hosts/sora/services/restic.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/sora/services/restic.nix b/hosts/sora/services/restic.nix index 904404e..adc9208 100644 --- a/hosts/sora/services/restic.nix +++ b/hosts/sora/services/restic.nix @@ -7,8 +7,8 @@ restic-sora = { sopsFile = ../../../secrets/restic/secrets.yaml; }; - sora-b2 = { - sopsFile = ../../../secrets/b2/secrets.yaml; + sora-s3 = { + sopsFile = ../../../secrets/s3/secrets.yaml; }; }; environment.systemPackages = [pkgs.restic]; @@ -25,10 +25,10 @@ "--keep-weekly=6" "--keep-monthly=5" ]; - repository = "b2:sora-b2"; + repository = "s3:https://s3.flake.sh/restic-sora"; initialize = true; passwordFile = config.sops.secrets.restic-sora.path; - environmentFile = config.sops.secrets.sora-b2.path; + environmentFile = config.sops.secrets.sora-s3.path; timerConfig = { OnCalendar = "daily"; Persistent = true;