Never mind...

This commit is contained in:
Lillian-Violet 2023-12-21 20:54:48 +01:00
parent 8526e4520c
commit c4bfb17928
2 changed files with 2 additions and 6 deletions

View file

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

View file

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