diff --git a/modules/restic.nix b/modules/restic.nix index 7e0cbee..26f6176 100644 --- a/modules/restic.nix +++ b/modules/restic.nix @@ -43,7 +43,7 @@ let in { 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; repository = "s3:https://s3.eu-central-1.wasabisys.com/sbruder-restic"; paths = lib.mkDefault ( diff --git a/machines/nunotaba/secrets/restic_password b/secrets/restic_password similarity index 100% rename from machines/nunotaba/secrets/restic_password rename to secrets/restic_password