From 40bebc8749e82ba24ba7a41886cfe7145390d78d Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Mon, 4 Mar 2024 16:11:41 +1100 Subject: [PATCH] extest: refactor to use mkEnableOption --- nixos/modules/programs/steam.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/nixos/modules/programs/steam.nix b/nixos/modules/programs/steam.nix index a52dfca67e1c..d6e2a82af100 100644 --- a/nixos/modules/programs/steam.nix +++ b/nixos/modules/programs/steam.nix @@ -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 {