Upgrade path to psql 16 & unify pkgs vers

This commit is contained in:
Lillian Violet 2023-12-21 20:50:50 +01:00
parent a0b0a309f6
commit 75bb370ddc
2 changed files with 4 additions and 2 deletions

View file

@ -103,7 +103,7 @@
noto-fonts-emoji
oh-my-zsh
onlyoffice-documentserver
postgresql_15
postgresPackage
python3
rsync
rabbitmq-server

View file

@ -3,9 +3,11 @@
pkgs,
...
}: {
#Define postgres here so this is the only place to update its version
postgresPackage = pkgs.postgresql_15;
services.postgresql = {
# https://nixos.org/manual/nixos/stable/#module-postgresql
package = pkgs.postgresql_15;
package = postgresPackage;
enable = true;
# Ensure the database, user, and ownership is set