MyNixOS website logo
option

services.postgres-websockets.pgpassFile

The password to authenticate to PostgreSQL with. Not needed for peer or trust based authentication.

The file must be a valid .pgpass file as described in: https://www.postgresql.org/docs/current/libpq-pgpass.html

In most cases, the following will be enough:

*:*:*:*:<password>
Declarations
Type
null or absolute path not in the Nix store
Default
null
Example
"/run/keys/db_password"