- 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.
I got the notification that
xsession.pointerCursoris being deprecated, and I found the new option here https://nix-community.github.io/home-manager/options.xhtml#opt-home.pointerCursorHope this helps :)