services.postgresql.settings.port

The port on which PostgreSQL listens.

Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
5432
Declared
<nixpkgs/nixos/modules/services/databases/postgresql.nix>