- Set your
XCURSOR_SIZEto 32 (or desired size) in either your/etc/nixos/configuration.nix
environment.variables.XCURSOR_SIZE = "32";
or ~/.Xresources:
Xcursor.size: 32
- in
~/.Xresources, set the theme toAdwaita. (You'd want thegnome3.adwaita-icon-themenix package installed.)
Xcursor.theme: Adwaita
- in
~/.gtkrc-2.0set the following:
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=32
- in
~/.config/gtk-3.0/settings.iniset the following:
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=32
- Logout and log back in. (If you changed
/etc/nixos/configuration.nixdo asudo nix-rebuild switchand reboot.)
Change the size and theme as desired -- just make sure that the settings in the above files are in sync.
If using Home Manager, then this is encapsulated by e.g.
Despite being "xsession", Wayland desktops benefit from some of what this does as well.