services/gtk: add theme package and session variables

This commit is contained in:
Anthony Rodriguez 2025-02-04 21:36:40 +01:00
parent ef4a5c8ae6
commit 95d6d0cc32
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA

View file

@ -35,9 +35,15 @@ in {
".config/gtk-4.0/gtk.css".source = gtkCss;
};
packages = with styleCfg; [
gtk.theme.package
cursorTheme.package
gtk.iconTheme.package
];
environment.sessionVariables = {
GTK2_RC_FILES = "${config.hjem.users.${username}.directory}/.gtkrc-2.0";
GTK_THEME = "${gtkSettings.gtk-theme-name}";
};
};
};
}