diff --git a/secrets/restic/env.age b/secrets/restic/env.age index 5601cbe..b607ecf 100644 Binary files a/secrets/restic/env.age and b/secrets/restic/env.age differ diff --git a/shared/applications/server/restic.nix b/shared/applications/server/restic.nix index ed29915..340914b 100644 --- a/shared/applications/server/restic.nix +++ b/shared/applications/server/restic.nix @@ -1,9 +1,13 @@ { config, lib, ... }: -{ +let + s3_bucketname = "rummepungen"; + s3_url = "fsn1.your-objectstorage.com/${s3_bucketname}"; + s3_path = "gerd_backup"; +in { services.restic = { backups.main = { - repository = "b2:situla-${config.mine.shared.settings.brand_lower}:."; + repository = "s3:${s3_url}/${s3_path}"; passwordFile = config.age.secrets."restic-pass".path; environmentFile = config.age.secrets."restic-env".path;