services.postgrest.settings.db-uri

NixOS option

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.

type: open submodule of attribute set of string
Default
{ }
Example
{
  host = "localhost";
  dbname = "postgres";
}
declared in: nixos/modules/services/databases/postgrest.nixView source on NixOS/nixpkgs →