{ config, pkgs, ... }: { environment.sessionVariables = rec { XDG_CACHE_HOME = "\${HOME}/.cache"; XDG_CONFIG_HOME = "\${HOME}/.config"; XDG_BIN_HOME = "\${HOME}/.local/bin"; XDG_DATA_HOME = "\${HOME}/.local/share"; XDG_STATE_HOME = "\${HOME}/.local/state"; ZDOTDIR = "\${HOME}/.config/zsh"; CARGO_HOME = "\${HOME}/.local/share/cargo"; ANDROID_HOME = "\${HOME}/.local/share/android"; ANSIBLE_HOME = "\${HOME}/.local/share/ansible"; #_JAVA_OPTIONS = '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"'; WINEPREFIX = "\${HOME}/.local/share/wine"; GNUPGHOME = "\${HOME}/.local/share/gnupg"; GRADLE_USER_HOME = "\${HOME}/.local/share/gradle"; GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc"; #PYTHONSTARTUP="/etc/python/pythonrc"; PATH = [ "\${XDG_BIN_HOME}" ]; }; }