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