nixos/environment: set GTK_DATA_PREFIX

Many desktop environment modules are already setting
this so it already makes sense to just do this globally.
This commit is contained in:
worldofpeace
2019-09-18 11:13:43 -04:00
parent 5669b06235
commit cc125810cb
7 changed files with 2 additions and 32 deletions
+1
View File
@@ -22,6 +22,7 @@ in
EDITOR = mkDefault "nano";
XCURSOR_PATH = [ "$HOME/.icons" ];
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
};
environment.profiles = mkAfter