nixos/x11/hardware/libinput: enable by default

Basically everything Wayland uses this, it's much more actively
maintained than xf86-input-evdev, and we should really be shipping
it by default.
This commit is contained in:
K900 2023-05-11 16:42:07 +03:00
parent f212785e1e
commit 9fec1a09bd
2 changed files with 5 additions and 1 deletions

View File

@ -265,6 +265,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- [services.xserver.videoDrivers](options.html#opt-services.xserver.videoDrivers) now defaults to the `modesetting` driver over device-specific ones. The `radeon`, `amdgpu` and `nouveau` drivers are still available, but effectively unmaintained and not recommended for use.
- [services.xserver.libinput.enable](options.html#opt-services.xserver.libinput.enable) is now set by default, enabling the more actively maintained and consistently behaved input device driver.
- To enable the HTTP3 (QUIC) protocol for a nginx virtual host, set the `quic` attribute on it to true, e.g. `services.nginx.virtualHosts.<name>.quic = true;`.
- In `services.fail2ban`, `bantime-increment.<name>` options now default to `null` (except `bantime-increment.enable`) and are used to set the corresponding option in `jail.local` only if not `null`. Also, enforce that `bantime-increment.formula` and `bantime-increment.multipliers` are not both specified.

View File

@ -260,7 +260,9 @@ in {
options = {
services.xserver.libinput = {
enable = mkEnableOption (lib.mdDoc "libinput");
enable = mkEnableOption (lib.mdDoc "libinput") // {
default = true;
};
mouse = mkConfigForDevice "mouse";
touchpad = mkConfigForDevice "touchpad";
};