From 5fa7ccb8e78bd3c728899af1a96a00198f71ea74 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 21 Dec 2024 17:18:32 +0100 Subject: [PATCH] fix(django-apps): Disable statedir backup until it is fixed --- modules/nixos/django-apps/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/django-apps/default.nix b/modules/nixos/django-apps/default.nix index eccd91f..550c9ee 100644 --- a/modules/nixos/django-apps/default.nix +++ b/modules/nixos/django-apps/default.nix @@ -734,9 +734,9 @@ in }; dgn-backups = { - jobs = mapAttrs' ( - name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/django-apps/${name}" ]; } - ) cfg.sites; + # jobs = mapAttrs' ( + # name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/private/django-apps/${name}" ]; } + # ) cfg.sites; postgresDatabases = builtins.map (name: "dj-${name}") ( attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites) );