mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixos/roundcube: add example for database.passwordFile
(#348166)
This commit is contained in:
commit
97ca8ccb15
|
@ -55,7 +55,12 @@ in
|
|||
default = "";
|
||||
};
|
||||
passwordFile = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
type = lib.types.path;
|
||||
example = lib.literalExpression ''
|
||||
pkgs.writeText "roundcube-postgres-passwd.txt" '''
|
||||
hostname:port:database:username:password
|
||||
'''
|
||||
'';
|
||||
description = ''
|
||||
Password file for the postgresql connection.
|
||||
Must be formatted according to PostgreSQL .pgpass standard (see https://www.postgresql.org/docs/current/libpq-pgpass.html)
|
||||
|
|
Loading…
Reference in a new issue