services.postgrest.pgpassFile

NixOS option

null or absolute path not in the Nix store

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>

type: null or absolute path not in the Nix store
Default
null
Example
"/run/keys/db_password"
declared in: nixos/modules/services/databases/postgrest.nixView source on NixOS/nixpkgs →