Set environment variables using a file in ~/.config/environment.d/abc.conf, where abc.conf can be any name and you can use multiple files. Each file should contain VAR=VALUE with one variable in each line.