nixos: libinput use mkEnableOption
This commit is contained in:
parent
96425dfa09
commit
e361cdd5c3
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue