Upgrade to postgres 16

This commit is contained in:
batteredbunny 2024-10-24 19:09:56 +03:00
parent d6f12aad13
commit 39bca4c27e

View file

@ -601,7 +601,8 @@
# /var/lib/postgresql
postgresql = {
enable = true;
package = pkgs.postgresql_15;
package = pkgs.postgresql_16;
enableTCPIP = true;
initialScript = pkgs.writeText "backend-initScript" ''
CREATE USER "matrix-synapse";
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"