MyNixOS website logo
option

services.roundcube.database.passwordFile

Password file for the postgresql connection. Must be formatted according to PostgreSQL .pgpass standard (see https://www.postgresql.org/docs/current/libpq-pgpass.html) but only one line, no comments and readable by user nginx. Ignored if database.host is set to localhost, as peer authentication will be used.

Declarations
Type
absolute path
Example
pkgs.writeText "roundcube-postgres-passwd.txt" ''
  hostname:port:database:username:password
''