From 9b1e53fdedcda6d34ff55e0085e968589c6a5b4e Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 9 Oct 2025 23:20:51 -0500 Subject: [PATCH] feat: added firefly-iii --- modules/nixos/services/postgresql/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/nixos/services/postgresql/default.nix b/modules/nixos/services/postgresql/default.nix index 4cdcc38..3155906 100755 --- a/modules/nixos/services/postgresql/default.nix +++ b/modules/nixos/services/postgresql/default.nix @@ -13,11 +13,11 @@ in services = { postgresqlBackup = { enable = true; - location = service.paths.path0; + location = "${service.paths.path0}/backups"; + compression = "zstd"; + startAt = "*-*-* 07:00:00"; databases = [ instances.mastodon.name - instances.nextcloud.name - instances.peertube.name instances.forgejo.name instances.firefly-iii.name ]; @@ -54,6 +54,7 @@ in systemd.tmpfiles.rules = [ "Z ${service.paths.path0} 700 ${service.name} ${service.name} -" + "Z ${service.paths.path0}/backups 700 ${service.name} ${service.name} -" ]; users.users.${service.name}.extraGroups = [