Skip to content

Commit 3b9de31

Browse files
committed
fix(stylix): generate system cursor in NixOS module
The NixOS stylix module defined cfg.cursor but omitted stylix.cursor in the config block. This prevented Stylix from configuring the system-wide cursor, causing GDM/GNOME on bruddynix to render a white box cursor since the system environment lacked the Catppuccin fallback cursor before Home Manager dconf settings fully applied.
1 parent a5b0f35 commit 3b9de31

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/nixos/theme/stylix/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ in
5252
gtk.enable = !config.khanelinix.theme.gtk.enable;
5353
qt.enable = !config.khanelinix.theme.qt.enable;
5454
};
55+
56+
cursor = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
57+
inherit (cfg.cursor) name package size;
58+
};
5559
};
5660
};
5761
}

0 commit comments

Comments
 (0)