diff --git a/nixos/modules/services/databases/postgresql.md b/nixos/modules/services/databases/postgresql.md index 41b2e70f334e3..f055298499eb5 100644 --- a/nixos/modules/services/databases/postgresql.md +++ b/nixos/modules/services/databases/postgresql.md @@ -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 { services.postgresql.package = pkgs.postgresql_17; - services.postgresql.extraPlugins = ps: with ps; [ + services.postgresql.extensions = ps: with ps; [ pg_repack postgis ];