Use the same restic password for all machines

Since they use the same repository (for deduplication), everything else
doesn’t make sense.
This commit is contained in:
Simon Bruder 2020-08-24 09:27:16 +02:00
parent 331dad50f3
commit 5108a624f8
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 1 additions and 1 deletions

View file

@ -43,7 +43,7 @@ let
in in
{ {
services.restic.backups."${config.networking.hostName}-system" = { services.restic.backups."${config.networking.hostName}-system" = {
passwordFile = toString (../machines/. + "/${config.networking.hostName}" + /secrets/restic_password); passwordFile = toString (../secrets/restic_password);
s3CredentialsFile = toString ../secrets/s3_credentials; s3CredentialsFile = toString ../secrets/s3_credentials;
repository = "s3:https://s3.eu-central-1.wasabisys.com/sbruder-restic"; repository = "s3:https://s3.eu-central-1.wasabisys.com/sbruder-restic";
paths = lib.mkDefault ( paths = lib.mkDefault (