extest: refactor to use mkEnableOption

This commit is contained in:
Brian McKenna 2024-03-04 16:11:41 +11:00 committed by tomf
parent 5dffe7eebf
commit 40bebc8749

View File

@ -117,14 +117,10 @@ in {
};
};
extest.enable = mkOption {
type = types.bool;
default = false;
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)
'';
};
extest.enable = mkEnableOption (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 {