1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

* Add an option ‘services.postgresql.extraConfig’.

svn path=/nixos/trunk/; revision=27550
This commit is contained in:
Eelco Dolstra 2011-06-27 10:15:26 +00:00
parent 010a2a7555
commit bf00977ce1

View file

@ -32,6 +32,7 @@ let
hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}' hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}'
ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}' ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}'
log_destination = 'syslog' log_destination = 'syslog'
${cfg.extraConfig}
''; '';
in in
@ -122,6 +123,10 @@ in
# libdir explicitely. # libdir explicitely.
}; };
extraConfig = mkOption {
default = "";
description = "Additional text to be appended to <filename>postgresql.conf</filename>.";
};
}; };
}; };