Parameterized config and environment type