made psql version explicit + migration instruction

This commit is contained in:
Lillian-Violet 2023-12-18 21:38:17 +01:00
parent 1d7ec761a3
commit b672ea4761
2 changed files with 4 additions and 1 deletions

View file

@ -102,7 +102,7 @@
noto-fonts-emoji noto-fonts-emoji
oh-my-zsh oh-my-zsh
onlyoffice-documentserver onlyoffice-documentserver
postgresql postgresql_14
python3 python3
rsync rsync
rabbitmq-server rabbitmq-server

View file

@ -4,6 +4,9 @@
... ...
}: { }: {
services.postgresql = { services.postgresql = {
#TODO: update to postgres 15 before migrating to 23.11
# https://nixos.org/manual/nixos/stable/#module-postgresql
package = pkgs.postgresql_14;
enable = true; enable = true;
# Ensure the database, user, and permissions always exist # Ensure the database, user, and permissions always exist