Configuration is now held by the `.org` files. All `.nix` files are tangled from the org-mode files.
621 B
621 B
Trackball
Trackball
I use a trackball on some of my machines, and I middle-click by
pressing the left and right buttons together rather than through a
dedicated button. That’s the only downside of the two trackballs I
own; otherwise, I can’t recommend one enough. Here’s the
nixos.trackball module enabling this behaviour.
{
flake.modules.nixos.trackball = {
<<middle-emulation>>
};
}
Enabling middle-click emulation is simple:
services.libinput.mouse.middleEmulation = true;