aboutsummaryrefslogtreecommitdiff
path: root/modules/services/grafana/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/grafana/default.nix')
-rw-r--r--modules/services/grafana/default.nix15
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/services/grafana/default.nix b/modules/services/grafana/default.nix
index 5d67bc1..8638660 100644
--- a/modules/services/grafana/default.nix
+++ b/modules/services/grafana/default.nix
@@ -29,19 +29,6 @@ in {
};
};
- age.secrets.restic-repo-systems.file =
- ../../../secrets/restic/repo-systems.age;
-
- services.restic.backups = {
- grafana = {
- paths = [ "/var/lib/grafana/data" ];
- repository = "/data/slow/backups/systems";
- passwordFile = config.age.secrets.restic-repo-systems.path;
- timerConfig = { OnCalendar = "00:05"; };
- initialize = true;
- extraBackupArgs = [ "--tag grafana" ];
- pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" ];
- };
- };
+ my.services.backup = { paths = [ "/var/lib/grafana/data" ]; };
};
}