diff options
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/databases/postgresql.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/services/databases/postgresql.nix b/modules/services/databases/postgresql.nix index 56e98e4a3f9..8a18020309b 100644 --- a/modules/services/databases/postgresql.nix +++ b/modules/services/databases/postgresql.nix @@ -32,6 +32,7 @@ let hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}' ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}' log_destination = 'syslog' + ${cfg.extraConfig} ''; in @@ -122,6 +123,10 @@ in # libdir explicitely. }; + extraConfig = mkOption { + default = ""; + description = "Additional text to be appended to <filename>postgresql.conf</filename>."; + }; }; }; |