about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-13 19:53:18 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-13 19:54:09 -0400
commitdd050270c78a0e214ed7cb9e25bae43b45406473 (patch)
treee433f6c07411128e5f928ab52fc17c65e18026ef /nixos
parent8aaf5de4bd1646df879990995ab8cfed803ae12e (diff)
downloadnixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar.gz
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar.bz2
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar.lz
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar.xz
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.tar.zst
nixlib-dd050270c78a0e214ed7cb9e25bae43b45406473.zip
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/environment.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index fcffb2134980..38bdabb4fa81 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -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