Merge: nixos/postgresql: update docs with extraPlugins to extensions rename (#358159)

This commit is contained in:
Maximilian Bosch
2024-11-22 16:01:51 +01:00
committed by GitHub

View File

@@ -290,11 +290,11 @@ postgresql_15.pkgs.pg_partman postgresql_15.pkgs.pgroonga
... ...
``` ```
To add plugins via NixOS configuration, set `services.postgresql.extraPlugins`: To add plugins via NixOS configuration, set `services.postgresql.extensions`:
```nix ```nix
{ {
services.postgresql.package = pkgs.postgresql_17; services.postgresql.package = pkgs.postgresql_17;
services.postgresql.extraPlugins = ps: with ps; [ services.postgresql.extensions = ps: with ps; [
pg_repack pg_repack
postgis postgis
]; ];