Author: eelco
Date: Mon Jun 27 10:15:26 2011
New Revision: 27550
URL: https://svn.nixos.org/websvn/nix/?rev=27550&sc=1
Log:
* Add an option ‘services.postgresql.extraConfig’.
Modified:
nixos/trunk/modules/services/databases/postgresql.nix
Modified: nixos/trunk/modules/services/databases/postgresql.nix
==============================================================================
--- nixos/trunk/modules/services/databases/postgresql.nix Mon Jun 27
09:29:10 2011 (r27549)
+++ nixos/trunk/modules/services/databases/postgresql.nix Mon Jun 27
10:15:26 2011 (r27550)
@@ -32,6 +32,7 @@
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 @@
# libdir explicitely.
};
+ extraConfig = mkOption {
+ default = "";
+ description = "Additional text to be appended to
<filename>postgresql.conf</filename>.";
+ };
};
};
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits