So this is how you add PostgreSQL extensions on NixOS:
extraPlugins = with pkgs.postgresql_16.pkgs; [
timescaledb
timescaledb_toolkit
pgvector
postgis
];
Login to reply
Replies (1)
Small correction. Above will work on current version however:
The option `services.postgresql.extraPlugins' has been renamed to `services.postgresql.extensions'.