services.postgresql.enableTCPIP

NixOS option

Whether PostgreSQL should listen on all network interfaces. If disabled, the database can only be accessed via its Unix domain socket or via TCP connections to localhost.

type: boolean
Default
false
declared in: nixos/modules/services/databases/postgresql.nixView source on NixOS/nixpkgs →