services.pgbouncer.settings.databases
NixOS option
Detailed information about PostgreSQL database definitions: https://www.pgbouncer.org/config.html#section-databases
type: attribute set of stringDefault
{ }Example
declared in: nixos/modules/services/databases/pgbouncer.nixView source on NixOS/nixpkgs →{
bardb = "host=localhost dbname=bazdb";
exampledb = "host=/run/postgresql/ port=5432 auth_user=exampleuser dbname=exampledb sslmode=require";
foodb = "host=host1.example.com port=5432";
}