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 { 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 {