Compare commits

..

No commits in common. "a7c48fee03fb95ccf4902214c0f45f7ab97eb77e" and "60b25807774afc428e885bf03f993980bc08e5aa" have entirely different histories.

2 changed files with 6 additions and 2 deletions

Binary file not shown.

View file

@ -1,9 +1,13 @@
{ config, lib, ... }: { config, lib, ... }:
{ let
s3_bucketname = "rummepungen";
s3_url = "fsn1.your-objectstorage.com/${s3_bucketname}";
s3_path = "gerd_backup";
in {
services.restic = { services.restic = {
backups.main = { backups.main = {
repository = "b2:situla-${config.mine.shared.settings.brand_lower}:."; repository = "s3:${s3_url}/${s3_path}";
passwordFile = config.age.secrets."restic-pass".path; passwordFile = config.age.secrets."restic-pass".path;
environmentFile = config.age.secrets."restic-env".path; environmentFile = config.age.secrets."restic-env".path;