[NixOS] Remove initialization for postgres

This commit is contained in:
Ivan Malison 2024-01-04 20:02:11 -07:00
parent 0c685bee88
commit 8b83c429d1

View File

@ -18,11 +18,11 @@ makeEnable config "modules.postgres" false {
createdb = true; createdb = true;
}; };
}) realUsers; }) realUsers;
initialScript = pkgs.writeText "init-sql-script" '' # initialScript = pkgs.writeText "init-sql-script" ''
CREATE DATABASE IF NOT EXISTS railbird; # CREATE DATABASE IF NOT EXISTS railbird;
\c railbird # \c railbird
CREATE SCHEMA IF NOT EXISTS railbird; # CREATE SCHEMA IF NOT EXISTS railbird;
''; # '';
}; };
services.pgadmin = { services.pgadmin = {
enable = true; enable = true;