sora: update restic
All checks were successful
flake check / check (push) Successful in 4m33s
fmt check / check (push) Successful in 49s

This commit is contained in:
notohh 2024-01-15 01:51:33 -05:00
parent beea156a05
commit 3c182f558b
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -7,8 +7,8 @@
restic-sora = { restic-sora = {
sopsFile = ../../../secrets/restic/secrets.yaml; sopsFile = ../../../secrets/restic/secrets.yaml;
}; };
sora-b2 = { sora-s3 = {
sopsFile = ../../../secrets/b2/secrets.yaml; sopsFile = ../../../secrets/s3/secrets.yaml;
}; };
}; };
environment.systemPackages = [pkgs.restic]; environment.systemPackages = [pkgs.restic];
@ -25,10 +25,10 @@
"--keep-weekly=6" "--keep-weekly=6"
"--keep-monthly=5" "--keep-monthly=5"
]; ];
repository = "b2:sora-b2"; repository = "s3:https://s3.flake.sh/restic-sora";
initialize = true; initialize = true;
passwordFile = config.sops.secrets.restic-sora.path; passwordFile = config.sops.secrets.restic-sora.path;
environmentFile = config.sops.secrets.sora-b2.path; environmentFile = config.sops.secrets.sora-s3.path;
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "daily";
Persistent = true; Persistent = true;