- 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.
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.