How to set environment variables can be found in the [docs]( https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#set-env-vars).
And there also seem to be [different ways]( https://stackoverflow.com/a/62508395/991496).
Upon updating Fedora I got the error:
```
Cannot enable multiple streams for module 'maven'
```
This can be solved by running:
```
dnf module reset <name>
```