direnv should be installed and used to :
- Enhance security, to avoid wide visibility of all secrets available through environment variables.
- for example in dumps for third party debug
- have less environment variables, the right variables at the right places
as simple as :
programs.direnv.enable = true;
programs.direnv.silent = false;
.envrc
files to be added in the directory at the right places