postgresql use extensions

This commit is contained in:
jopejoe1 2024-12-04 21:06:24 +01:00
parent 0189927310
commit 177d1865ae

View file

@ -58,7 +58,7 @@
}; };
postgresql = { postgresql = {
enable = true; enable = true;
extraPlugins = ps: with ps; [ pg_libversion ]; extensions = ps: with ps; [ pg_libversion ];
enableTCPIP = true; enableTCPIP = true;
initialScript = pkgs.writeText "backend-initScript" '' initialScript = pkgs.writeText "backend-initScript" ''
CREATE DATABASE repology CREATE DATABASE repology