nixos: libinput use mkEnableOption
This commit is contained in:
parent
96425dfa09
commit
e361cdd5c3
@ -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 New Issue
Block a user