Upgrade path to psql 16 & unify pkgs vers
This commit is contained in:
parent
a0b0a309f6
commit
75bb370ddc
|
@ -103,7 +103,7 @@
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
onlyoffice-documentserver
|
onlyoffice-documentserver
|
||||||
postgresql_15
|
postgresPackage
|
||||||
python3
|
python3
|
||||||
rsync
|
rsync
|
||||||
rabbitmq-server
|
rabbitmq-server
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
#Define postgres here so this is the only place to update its version
|
||||||
|
postgresPackage = pkgs.postgresql_15;
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
# https://nixos.org/manual/nixos/stable/#module-postgresql
|
# https://nixos.org/manual/nixos/stable/#module-postgresql
|
||||||
package = pkgs.postgresql_15;
|
package = postgresPackage;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Ensure the database, user, and ownership is set
|
# Ensure the database, user, and ownership is set
|
||||||
|
|
Loading…
Reference in a new issue