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: boolean
Default
false
declared in: nixos/modules/services/databases/postgresql.nixView source on NixOS/nixpkgs →