MyNixOS website logo
option

services.postgrest.settings

PostgREST configuration as documented in: https://docs.postgrest.org/en/stable/references/configuration.html#list-of-parameters

db-uri is represented as an attribute set, see settings.db-uri

The settings.jwt-secret option is blocked. Use jwtSecretFile instead.
Declarations
Type
attribute set of (boolean or (unsigned integer, meaning >=0) or string)
Default
{ }
Example
{
  db-anon-role = "anon";
  db-uri.dbname = "postgres";
  "app.settings.custom" = "value";
}