From 31bd460c5e4c41f9d383d867649d70cf7376919f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jan 2025 20:18:18 +0100 Subject: ... --- hosts/vidhar/postgresql.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/vidhar/postgresql.nix') diff --git a/hosts/vidhar/postgresql.nix b/hosts/vidhar/postgresql.nix index fa5b734f..7e44e69f 100644 --- a/hosts/vidhar/postgresql.nix +++ b/hosts/vidhar/postgresql.nix @@ -28,5 +28,9 @@ in { timerConfig.OnCalendar = "daily"; }; }; + + systemd.services.postgresql.serviceConfig = { + ReadWritePaths = [ "/var/spool/pgbackrest" "/var/lib/pgbackrest/archive/vidhar" ]; + }; }; } -- cgit v1.2.3