Let's try this

This commit is contained in:
Lillian-Violet 2023-12-21 20:52:35 +01:00
parent 03fea64d26
commit c48d4e409a
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -4,10 +4,12 @@
... ...
}: { }: {
#Define postgres here so this is the only place to update its version #Define postgres here so this is the only place to update its version
postgresPackage = pkgs.postgresql_15; postgresPackage = pkgs.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 = postgresPackage; package = ${postgresPackage};
enable = true; enable = true;
# Ensure the database, user, and ownership is set # Ensure the database, user, and ownership is set