MyNixOS website logo
option

services.postgrest.settings.db-uri

libpq connection parameters as documented in:

https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS

The settings.db-uri.password and settings.db-uri.passfile options are blocked. Use pgpassFile instead.
Declarations
Type
attribute set of string
Default
{ }
Example
{
  host = "localhost";
  dbname = "postgres";
}