allow nested config env override

WP [#17225](https://community.openproject.org/work_packages/17225)
Prefer `inject` over `reduce`.