Merge pull request #231293 from K900/libinput-default

nixos/x11/hardware/libinput: enable by default
This commit is contained in:
K900 2023-05-12 09:42:23 +03:00 committed by GitHub
commit b136129246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";
};