use sessionVariables for setting XDG directories
environment.sessionVariables are set before the shell starts, so the wont't pollute the default value before switch to the one set using the environment.variables.
This commit is contained in:
parent
381177a942
commit
50daabb203
@ -40,7 +40,6 @@
|
||||
443 80 # reverse proxy
|
||||
993 # imaps server
|
||||
25 465 # smtp(s) server
|
||||
8080 # hubot
|
||||
3478 # turn server
|
||||
5349 # turn server
|
||||
3551 # apcups
|
||||
@ -487,8 +486,8 @@
|
||||
'';
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
PATH = "$HOME/.local/bin/:$PATH";
|
||||
environment.sessionVariables = {
|
||||
PATH = [ "$HOME/.local/bin/" ];
|
||||
XDG_CONFIG_HOME = "$HOME/.config";
|
||||
XDG_DATA_HOME = "$HOME/.local/share";
|
||||
XDG_CACHE_HOME = "$HOME/.cache";
|
||||
|
Loading…
Reference in New Issue
Block a user