services.postgresql.ensureUsers.*.ensureDBOwnership
NixOS option
Grants the user ownership to a database with the same name. This database must be defined manually in services.postgresql.ensureDatabases.
type: booleanDefault
declared in: nixos/modules/services/databases/postgresql.nixView source on NixOS/nixpkgs →false