diff options
author | Robert Klotzner <robert.klotzner@gmx.at> | 2016-02-27 07:24:47 +0100 |
---|---|---|
committer | Robert Klotzner <robert.klotzner@gmx.at> | 2016-02-27 07:24:47 +0100 |
commit | e361cdd5c39d98c5371c1bb0b7982c597b583adf (patch) | |
tree | e21511f38ac773a95c6b07f7123859946979d922 /nixos/modules/services/x11/hardware | |
parent | 96425dfa09a7a5ec4556a4a23102c481c72f5a4e (diff) | |
download | nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar.gz nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar.bz2 nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar.lz nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar.xz nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.tar.zst nixlib-e361cdd5c39d98c5371c1bb0b7982c597b583adf.zip |
nixos: libinput use mkEnableOption
Diffstat (limited to 'nixos/modules/services/x11/hardware')
-rw-r--r-- | nixos/modules/services/x11/hardware/libinput.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix index fb9e24160e9f..12cc1e7e6460 100644 --- a/nixos/modules/services/x11/hardware/libinput.nix +++ b/nixos/modules/services/x11/hardware/libinput.nix @@ -10,12 +10,7 @@ in { 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; |