From 1a48fbcfb52d6721a54b02ad145677a140ac4bc5 Mon Sep 17 00:00:00 2001 From: Lander Van den Bulcke Date: Fri, 19 Sep 2025 15:56:00 +0200 Subject: [PATCH] feat: enable postgres backups Signed-off-by: Lander Van den Bulcke --- hosts/db-01/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/db-01/default.nix b/hosts/db-01/default.nix index 66bf962..babd075 100644 --- a/hosts/db-01/default.nix +++ b/hosts/db-01/default.nix @@ -43,5 +43,15 @@ ]; }; + services.postgresqlBackup = { + enable = true; + startAt = "*-*-* 02:00:00"; + databases = [ + "authelia" + "forgejo" + "lldap" + ]; + }; + system.stateVersion = "25.05"; }