services.postgresql.ensureUsers.*.ensureClauses.inherit

Grants the user created inherit permissions. From the postgres docs:

A role is given permission to inherit the privileges of roles it is a member of, by default. However, to create a role without the permission, use CREATE ROLE name NOINHERIT.

More information on postgres roles can be found here

Type
null or boolean
Default

null: do not set. For newly created roles, use PostgreSQL's default. For existing roles, do not touch this clause.

Declared
<nixpkgs/nixos/modules/services/databases/postgresql.nix>