Skip to content

Commit a5b0f35

Browse files
committed
fix(gnome): enable gtk and qt theming in home manager
Without GTK theming explicitly enabled in the GNOME home manager module, GNOME fails to inherit the dconf settings for the configured cursor and icon themes (falling back to missing or default cursors). This change ensures GNOME automatically applies khanelinix.theme.gtk and khanelinix.theme.qt, matching the behavior of WM modules (like Hyprland).
1 parent 7d8fe3d commit a5b0f35

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

  • modules/home/programs/graphical/desktop-environment/gnome

modules/home/programs/graphical/desktop-environment/gnome/default.nix

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
}:
88
let
99
inherit (lib) types mkIf;
10-
inherit (lib.khanelinix) default-attrs mkBoolOpt mkOpt;
10+
inherit (lib.khanelinix)
11+
default-attrs
12+
enabled
13+
mkBoolOpt
14+
mkOpt
15+
;
1116

1217
cfg = config.khanelinix.programs.graphical.desktop-environment.gnome;
1318

@@ -273,6 +278,11 @@ in
273278
};
274279

275280
config = mkIf cfg.enable {
281+
khanelinix.theme = {
282+
gtk = enabled;
283+
qt = enabled;
284+
};
285+
276286
dconf.settings = lib.recursiveUpdate (
277287
lib.optionalAttrs (cfg.shell != { }) {
278288
"org/gnome/shell" = default-attrs cfg.shell;

0 commit comments

Comments
 (0)