From e361cdd5c39d98c5371c1bb0b7982c597b583adf Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Sat, 27 Feb 2016 07:24:47 +0100 Subject: [PATCH] nixos: libinput use mkEnableOption --- nixos/modules/services/x11/hardware/libinput.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix index fb9e24160e9..12cc1e7e646 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;