nixos: libinput use mkEnableOption

Changed files
+1 -6
nixos
modules
services
x11
hardware
+1 -6
nixos/modules/services/x11/hardware/libinput.nix
···
services.xserver.libinput = {
-
enable = mkOption {
-
type = types.bool;
-
default = false;
-
example = true;
-
description = "Whether to enable libinput support.";
-
};
+
enable = mkEnableOption "libinput";
dev = mkOption {
type = types.nullOr types.str;