From f3001694bf24ccc6185f49b7e8866a02bd227971 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 9 Dec 2019 02:56:42 -0500 Subject: [PATCH] Set GTK2_RC_FILES in services.xserver.displayManager.sessionCommands By which point XDG_CONFIG_HOME will be defined --- themes/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default.nix b/themes/default.nix index 5c00a64f..886fc56d 100644 --- a/themes/default.nix +++ b/themes/default.nix @@ -3,7 +3,6 @@ { environment.variables = { GTK_DATA_PREFIX = [ "${config.system.path}" ]; - GTK2_RC_FILES = "$HOME/.config/gtk-2.0/gtkrc"; QT_QPA_PLATFORMTHEME = "gtk2"; }; @@ -13,6 +12,7 @@ }; services.xserver.displayManager.sessionCommands = '' + export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" source "$XDG_CONFIG_HOME"/xsession/*.sh xrdb -merge "$XDG_CONFIG_HOME"/xtheme/* '';