From 9c6c95423e30e904b2a1bf58d5efc8937357b350 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Dec 2023 20:53:49 +0100 Subject: [PATCH] This mayhaps --- nixos/queen/postgres.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/queen/postgres.nix b/nixos/queen/postgres.nix index 384909c..384fe46 100644 --- a/nixos/queen/postgres.nix +++ b/nixos/queen/postgres.nix @@ -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