chore(restic): use new credentials config

This commit is contained in:
Felix Schröter 2021-11-23 00:14:05 +01:00
parent f2c49827c2
commit c87de43103
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -20,7 +20,7 @@ let
(removeAttrs args [ "name" "extraPruneOpts" ]) // { (removeAttrs args [ "name" "extraPruneOpts" ]) // {
initialize = true; initialize = true;
repository = "b2:felschr-rpi4-backup:/${name}"; repository = "b2:felschr-rpi4-backup:/${name}";
s3CredentialsFile = "/etc/nixos/secrets/restic/b2"; environmentFile = "/etc/nixos/secrets/restic/b2";
passwordFile = "/etc/nixos/secrets/restic/password"; passwordFile = "/etc/nixos/secrets/restic/password";
timerConfig = if (args ? timerConfig) then timerConfig = if (args ? timerConfig) then
args.timerConfig args.timerConfig