MyNixOS website logo
option

services.postgresql.settings

PostgreSQL configuration. Refer to https://www.postgresql.org/docs/11/config-setting.html#CONFIG-SETTING-CONFIGURATION-FILE for an overview of postgresql.conf.

String values will automatically be enclosed in single quotes. Single quotes will be escaped with two single quotes as described by the upstream documentation linked above.
Declarations
    Type
    attribute set of (boolean or floating point number or signed integer or string)
    Default
    { }
    Example
    {
      log_connections = true;
      log_statement = "all";
      logging_collector = true
      log_disconnections = true
      log_destination = lib.mkForce "syslog";
    }