From 2562a271fc8e0c398ed744098230d6522298208d Mon Sep 17 00:00:00 2001 From: oluceps Date: Tue, 22 Oct 2024 21:01:40 +0800 Subject: [PATCH] + --- hosts/hastur/backup.nix | 3 ++- repack/postgresql-backup.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/hastur/backup.nix b/hosts/hastur/backup.nix index 0e283ff8..6c79c13e 100644 --- a/hosts/hastur/backup.nix +++ b/hosts/hastur/backup.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { repack.postgresql-backup.enable = true; - systemd.services.postgresqlBackup.onSuccess = "rustic-backups-critic.service"; + systemd.services.postgresqlBackup.onSuccess = [ "rustic-backups-critic.service" ]; services.rustic = { backups = { critic = { @@ -9,6 +9,7 @@ "general.toml" "on-kaambl.toml" ]; + timerConfig = null; }; solid = { diff --git a/repack/postgresql-backup.nix b/repack/postgresql-backup.nix index e9567b6f..fece1938 100644 --- a/repack/postgresql-backup.nix +++ b/repack/postgresql-backup.nix @@ -3,7 +3,7 @@ ... }: reIf { - postgresqlBackup = { + services.postgresqlBackup = { enable = true; location = "/var/lib/backup/postgresql"; compression = "zstd";