nixos/environment: don't set GTK_DATA_PREFIX or GTK_EXE_PREFIX

We had these set so gtk2 can discover themes properly, however we failed
realize that gtk2 already has a patch that makes it search in XDG_DATA_DIRS.
I don't believe any issue is solved by setting these.
This commit is contained in:
worldofpeace 2019-10-13 19:53:18 -04:00
parent 8aaf5de4bd
commit dd050270c7

View File

@ -21,8 +21,6 @@ in
PAGER = mkDefault "less -R";
EDITOR = mkDefault "nano";
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
GTK_DATA_PREFIX = "${config.system.path}"; # needed for gtk2 apps to find themes
GTK_EXE_PREFIX = "${config.system.path}";
};
environment.profiles = mkAfter