2019-08-06 10:56:54 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2019-12-03 20:58:06 -08:00
|
|
|
environment.variables = {
|
|
|
|
GTK_DATA_PREFIX = [ "${config.system.path}" ];
|
|
|
|
GTK2_RC_FILES = "$HOME/.config/gtk-2.0/gtkrc";
|
|
|
|
QT_QPA_PLATFORMTHEME = "gtk2";
|
|
|
|
};
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2019-12-03 20:58:06 -08:00
|
|
|
qt5 = {
|
|
|
|
style = "gtk2";
|
|
|
|
platformTheme = "gtk2";
|
2019-08-06 10:56:54 -07:00
|
|
|
};
|
2019-12-03 20:58:06 -08:00
|
|
|
|
2019-08-06 10:56:54 -07:00
|
|
|
services.xserver.displayManager.sessionCommands = ''
|
|
|
|
source "$XDG_CONFIG_HOME"/xsession/*.sh
|
|
|
|
xrdb -merge "$XDG_CONFIG_HOME"/xtheme/*
|
|
|
|
'';
|
|
|
|
}
|