From 792b6d8c011613f55cba15b2b6f3ba4c0dfc1fd7 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 26 Dec 2022 23:22:31 +0100 Subject: Add postgres config Signed-off-by: TheArcaneBrony --- host/Rory-postgres/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix index fce3257..6d22cb6 100644 --- a/host/Rory-postgres/configuration.nix +++ b/host/Rory-postgres/configuration.nix @@ -37,6 +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 + ''; }; system.stateVersion = "22.11"; # DO NOT EDIT! -- cgit 1.4.1