diff --git a/modules/common/types/server/services/databases/postgresql/default.nix b/modules/common/types/server/services/databases/postgresql/default.nix index fd2b7748d..0b391a7c5 100644 --- a/modules/common/types/server/services/databases/postgresql/default.nix +++ b/modules/common/types/server/services/databases/postgresql/default.nix @@ -13,7 +13,7 @@ in { config = mkIf ((builtins.elem dev.type acceptedTypes) && cfg.database.postgresql.enable) { services.postgresql = { enable = true; - package = pkgs.postgresql; + package = pkgs.postgresql_14; dataDir = "/srv/storage/postgresql/${config.services.postgresql.package.psqlSchema}"; ensureDatabases = [