Open dedsm opened 1 year ago
we can't do it automatically but a users option like in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/weylus.nix can be done
the uinput enabling should be added to https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/logitech.nix
We shouldn't have to fiddle with groups if instead permissions are granted to the current user at the active seat. We'd still need module support of course, but messing with groups shouldn't be needed.
Describe the bug
When using wayland, solaar depends on uinput being writable by the user to offer some functionalities (for example, the thumb wheel on an MX Master 3 does not work without it).
By enabling uinput and adding the user to the uinput group, this is solved.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Side wheel should work, also refer to https://pwr-solaar.github.io/Solaar/rules.html for a better explanation as to what to expect when running on wayland
Additional context
Makes the problem go away, it would be nice to have this as an option or automatically applied somehow by enabling solaar.
Notify maintainers
@spinus @ysndr @oxalica @peterhoeg
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.