Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
postgresql plugins
let
mkPlug = p: p.override { postgresql = config.services.postgresql.package; };
in {
enable = true;
package = pgsql;
dataDir = "/data/pgsql";
extraConfig = "shared_preload_libraries = 'timescaledb'";
extraPlugins = with pkgs; map mkPlug
[ postgis
timescaledb
cstore_fdw
pg_hll
pg_cron
pg_topn
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.