mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +03:00
nixos/postgresql: take extraPlugins packageset from package option
This allows to reuse the extraPlugins option in other context's for example an upgrade script.
This commit is contained in:
parent
d08d9057e4
commit
4fe5824fc7
2 changed files with 6 additions and 7 deletions
|
@ -258,7 +258,7 @@ postgresql_15.pkgs.pg_partman postgresql_15.pkgs.pgroonga
|
|||
To add plugins via NixOS configuration, set `services.postgresql.extraPlugins`:
|
||||
```
|
||||
services.postgresql.package = pkgs.postgresql_12;
|
||||
services.postgresql.extraPlugins = with pkgs.postgresql_12.pkgs; [
|
||||
services.postgresql.extraPlugins = ps: with ps; [
|
||||
pg_repack
|
||||
postgis
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue