summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2021-01-10 00:46:13 -0300
committerThiago Kenji Okada <thiagokokada@gmail.com>2021-01-13 09:54:28 -0300
commitcd15b3a30a6f95b83f1e4cff11f6ebaf8d0ba66e (patch)
treeee1e1d07409b5df00866065f7773adec93d01b60 /pkgs/development/python-modules/python-gitlab
parente35938ab71ad19a82da135928f1e1d08ace79f65 (diff)
nixos/libinput: separate settings by mouse/touchpad
This commits deprecates `services.xserver.libinput` for multiple settings, one for each kind of device: - `services.xserver.libinput.mouse` - `services.xserver.libinput.touchpad` Looking at `man 4 libinput`, they basically have the same options so I simply replicated them, even if some options doesn't make sense for mouse (`tapping` for example). With this commit this is now possible: ```nix { services.xserver.libinput = { enable = true; mouse = { accelProfile = "flat"; }; touchpad = { naturalScrolling = true; }; }; } ``` And you will have a mouse with no natural scrolling but with accel profile flat, while touchpad will have natural scrolling but accel profile adaptative (default). It is possible to support more device types (tablets/keyboards/touchscreens), but at least looking at the libinput manual for those devices it doesn't seem that it has any configuration options for them. They can still be configured using `services.xserver.inputClassSections` though, and this will work now since there is no rule by default that matches them. Closes issue #75007, while also making configuration of mouses and touchpads using Nix attrs possible like said in PR #73785.
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
0 files changed, 0 insertions, 0 deletions