mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
extest: refactor to use mkEnableOption
This commit is contained in:
parent
5dffe7eebf
commit
40bebc8749
@ -117,14 +117,10 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extest.enable = mkOption {
|
extest.enable = mkEnableOption (lib.mdDoc ''
|
||||||
type = types.bool;
|
Load the extest library into Steam, to translate X11 input events to
|
||||||
default = false;
|
uinput events (e.g. for using Steam Input on Wayland)
|
||||||
description = lib.mdDoc ''
|
'');
|
||||||
Load the extest library into Steam, to translate X11 input events to
|
|
||||||
uinput events (e.g. for using Steam Input on Wayland)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
Loading…
Reference in New Issue
Block a user