* Add an option ‘services.postgresql.extraConfig’.
svn path=/nixos/trunk/; revision=27550
This commit is contained in:
parent
010a2a7555
commit
bf00977ce1
1 changed files with 5 additions and 0 deletions
|
@ -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>.";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue