MyNixOS website logo
option

services.pgbouncer.databases

Detailed information about PostgreSQL database definitions: https://www.pgbouncer.org/config.html#section-databases.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  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";
}