MyNixOS website logo
option

services.postgresqlWalReceiver.receivers.<name>.environment

Environment variables passed to the service. Usable parameters are listed in Section 34.14 of the PostgreSQL manual.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  PGPASSFILE = "/private/passfile";
  PGSSLMODE = "require";
}