2024-08-25 01:45:53 +00:00
|
|
|
{ config, flake, ... }:
|
2024-05-22 19:49:34 +00:00
|
|
|
{
|
2024-08-25 01:45:53 +00:00
|
|
|
age.secrets."restic-repo-storagebox-metronom" = {
|
|
|
|
file = "${flake.self}/secrets/restic-repo-storagebox-metronom.age";
|
2024-05-22 19:49:34 +00:00
|
|
|
mode = "400";
|
|
|
|
owner = "root";
|
|
|
|
};
|
2024-08-25 01:45:53 +00:00
|
|
|
age.secrets.restic-repo-garage-metronom = {
|
|
|
|
file = "${flake.self}/secrets/restic-repo-garage-metronom.age";
|
2024-05-22 19:49:34 +00:00
|
|
|
mode = "400";
|
|
|
|
owner = "root";
|
|
|
|
};
|
2024-08-25 01:45:53 +00:00
|
|
|
age.secrets.restic-repo-garage-metronom-env = {
|
|
|
|
file = "${flake.self}/secrets/restic-repo-garage-metronom-env.age";
|
|
|
|
mode = "400";
|
|
|
|
owner = "root";
|
|
|
|
};
|
|
|
|
|
|
|
|
pub-solar-os.backups.repos.storagebox = {
|
|
|
|
passwordFile = config.age.secrets."restic-repo-storagebox-metronom".path;
|
|
|
|
repository = "sftp:u377325@u377325.your-storagebox.de:/metronom-backups";
|
|
|
|
};
|
|
|
|
|
|
|
|
pub-solar-os.backups.repos.garage = {
|
|
|
|
passwordFile = config.age.secrets."restic-repo-garage-metronom".path;
|
|
|
|
environmentFile = config.age.secrets."restic-repo-garage-metronom-env".path;
|
|
|
|
repository = "s3:https://buckets.pub.solar/metronom-backups";
|
|
|
|
};
|
2024-05-22 19:49:34 +00:00
|
|
|
}
|