From bf00977ce1c5b5ac5f1c439287c06357abe949a9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Jun 2011 10:15:26 +0000 Subject: * Add an option ‘services.postgresql.extraConfig’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/nixos/trunk/; revision=27550 --- modules/services/databases/postgresql.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/services') 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 postgresql.conf."; + }; }; }; -- cgit 1.4.1