From 32bcaeff294b8cdc99f6731f9d8c09e4ecef6cf7 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 26 Dec 2022 23:24:18 +0100 Subject: Use postgres settings instead of extraConfig Signed-off-by: TheArcaneBrony --- host/Rory-postgres/configuration.nix | 12 ++++++------ 1 file 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! -- cgit 1.4.1