MyNixOS website logo
option

services.postgres-websockets.environment

postgres-websockets configuration as defined in: https://github.com/diogob/postgres-websockets/blob/master/src/PostgresWebsockets/Config.hs#L71-L87

PGWS_DB_URI is represented as an attribute set, see environment.PGWS_DB_URI

The environment.PGWS_JWT_SECRET option is blocked. Use jwtSecretFile instead.
Declarations
Type
attribute set of string
Default
{ }
Example
{
  PGWS_LISTEN_CHANNEL = "my_channel";
  PGWS_DB_URI.dbname = "postgres";
}