Set GTK2_RC_FILES in services.xserver.displayManager.sessionCommands
By which point XDG_CONFIG_HOME will be defined
This commit is contained in:
parent
163daad5f0
commit
f3001694bf
|
@ -3,7 +3,6 @@
|
||||||
{
|
{
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GTK_DATA_PREFIX = [ "${config.system.path}" ];
|
GTK_DATA_PREFIX = [ "${config.system.path}" ];
|
||||||
GTK2_RC_FILES = "$HOME/.config/gtk-2.0/gtkrc";
|
|
||||||
QT_QPA_PLATFORMTHEME = "gtk2";
|
QT_QPA_PLATFORMTHEME = "gtk2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -13,6 +12,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.displayManager.sessionCommands = ''
|
services.xserver.displayManager.sessionCommands = ''
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
||||||
source "$XDG_CONFIG_HOME"/xsession/*.sh
|
source "$XDG_CONFIG_HOME"/xsession/*.sh
|
||||||
xrdb -merge "$XDG_CONFIG_HOME"/xtheme/*
|
xrdb -merge "$XDG_CONFIG_HOME"/xtheme/*
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue