# ProfilesConfig

```ts
type ProfilesConfig = Partial<Record<Environment, EnvProfile>> & object;
```

Configuration object for `Envapter.configureProfiles`. Maps each `Environment` to an optional
profile override. Unspecified environments use the default cascade (`.env.${env}.local`,
`.env.${env}`, `.env.local`, `.env`).

## Type Declaration

| Name | Type | Description |
| ------ | ------ | ------ |
| `useDefaults?` | `boolean` | Set `false` to load only the configured paths. Defaults to `true`, where the configured paths load ahead of the dotenv-flow cascade. |

## See

[https://envapt.materwelon.dev/docs/env-files#profiles](https://envapt.materwelon.dev/docs/env-files#profiles)