diff options
author | K900 <me@0upti.me> | 2023-05-12 09:42:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 09:42:23 +0300 |
commit | b1361292468c04dbb670eebc8391ffa0ea901d7e (patch) | |
tree | 7b5f13ad5a739aa91e5148fb5e9bc571dea1513e /nixos | |
parent | 06f8a3226dc3383eaab88c1cc91079e309554bb9 (diff) | |
parent | 9fec1a09bd300036e1d4dc9474d3a0441941a5e4 (diff) |
Merge pull request #231293 from K900/libinput-default
nixos/x11/hardware/libinput: enable by default
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2305.section.md | 2 | ||||
-rw-r--r-- | nixos/modules/services/x11/hardware/libinput.nix | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 2d37362412824..0edcbc0b8e007 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -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. diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix index f77036360e029..f3391c6e11693 100644 --- a/nixos/modules/services/x11/hardware/libinput.nix +++ b/nixos/modules/services/x11/hardware/libinput.nix @@ -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"; }; |