This mayhaps
This commit is contained in:
parent
031f06f532
commit
9c6c95423e
|
@ -4,12 +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.withPackages (pp: [
|
postgresPackage = postgresql_15.withPackages (pp: [
|
||||||
# pp.plv8
|
# 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 = pkgs.${postgresPackage};
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Ensure the database, user, and ownership is set
|
# Ensure the database, user, and ownership is set
|
||||||
|
|
Loading…
Reference in a new issue