postgresql: move port to settings

This commit is contained in:
notohh 2024-04-04 18:15:25 -04:00
parent ec5022d671
commit 42aaa9eaea
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -8,9 +8,9 @@
enable = true; enable = true;
enableTCPIP = true; enableTCPIP = true;
package = pkgs.postgresql_14; package = pkgs.postgresql_14;
port = 5432;
settings = { settings = {
listen_addresses = lib.mkForce "*"; listen_addresses = lib.mkForce "*";
port = 5432;
max_connections = "300"; max_connections = "300";
shared_buffers = "80MB"; shared_buffers = "80MB";
}; };