Let's try this

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

View file

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

View file

@ -4,10 +4,12 @@
...
}: {
#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 = {
# https://nixos.org/manual/nixos/stable/#module-postgresql
package = postgresPackage;
package = ${postgresPackage};
enable = true;
# Ensure the database, user, and ownership is set