forked from mirrors/nixpkgs
Merge pull request #231293 from K900/libinput-default
nixos/x11/hardware/libinput: enable by default
This commit is contained in:
commit
b136129246
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue