about summary refs log tree commit diff
path: root/modules/services/postgresql.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/postgresql.nix')
-rw-r--r--modules/services/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/postgresql.nix b/modules/services/postgresql.nix
index 2d5fdf5..05835a4 100644
--- a/modules/services/postgresql.nix
+++ b/modules/services/postgresql.nix
@@ -26,7 +26,7 @@ in
     };
     services.postgresqlBackup.enable = true;
 
-    environment.persistence."/persist".directories = [
+    modules.persistence.directories = [
       "/var/lib/postgresql"
       "/var/backup/postgresql"
     ];