- Set your
XCURSOR_SIZE
to 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-theme
nix package installed.)
Xcursor.theme: Adwaita
- in
~/.gtkrc-2.0
set the following:
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=32
- in
~/.config/gtk-3.0/settings.ini
set the following:
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=32
- Logout and log back in. (If you changed
/etc/nixos/configuration.nix
do asudo nix-rebuild switch
and 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.pointerCursor
is being deprecated, and I found the new option here https://nix-community.github.io/home-manager/options.xhtml#opt-home.pointerCursorHope this helps :)