summaryrefslogtreecommitdiff
path: root/hosts/vidhar/postgresql.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/postgresql.nix')
-rw-r--r--hosts/vidhar/postgresql.nix4
1 files changed, 4 insertions, 0 deletions
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 {
28 timerConfig.OnCalendar = "daily"; 28 timerConfig.OnCalendar = "daily";
29 }; 29 };
30 }; 30 };
31
32 systemd.services.postgresql.serviceConfig = {
33 ReadWritePaths = [ "/var/spool/pgbackrest" "/var/lib/pgbackrest/archive/vidhar" ];
34 };
31 }; 35 };
32} 36}