summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/Rory-postgres/configuration.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix
index 6d22cb6..4f191b2 100644
--- a/host/Rory-postgres/configuration.nix
+++ b/host/Rory-postgres/configuration.nix
@@ -37,12 +37,12 @@
     #   GRANT ALL PRIVILEGES ON DATABASE nixcloud TO nixcloud;
     # '';
     dataDir = "/data/pg";
-    extraConfig = ''
-      max_connections = 100
-      shared_buffers = 128MB
-      max_wal_size = 1GB
-      min_wal_size = 80MB
-    '';
+    settings = {
+      "max_connections" = "100";
+      "shared_buffers" = "128MB";
+      "max_wal_size" = "1GB";
+      "min_wal_size" = "80MB";
+    };
   };
 
   system.stateVersion = "22.11"; # DO NOT EDIT!