This mayhaps

This commit is contained in:
Lillian-Violet 2023-12-21 20:53:49 +01:00
parent c48d4e409a
commit 8526e4520c

View file

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