This mayhaps

This commit is contained in:
Lillian Violet 2023-12-21 20:53:49 +01:00
parent 031f06f532
commit 9c6c95423e

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