diff options
author | Brian McKenna <brian@brianmckenna.org> | 2024-03-04 16:11:41 +1100 |
---|---|---|
committer | tomf <tom@tom-fitzhenry.me.uk> | 2024-03-04 19:18:20 +1100 |
commit | 40bebc8749e82ba24ba7a41886cfe7145390d78d (patch) | |
tree | e8d725030c486089b88a07f1713f36713e5282ee /nixos/modules/programs | |
parent | 5dffe7eebfcc164d93671033860a7aaea4360ee4 (diff) | |
download | nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar.gz nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar.bz2 nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar.lz nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar.xz nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.tar.zst nixlib-40bebc8749e82ba24ba7a41886cfe7145390d78d.zip |
extest: refactor to use mkEnableOption
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/steam.nix | 12 |
1 files 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 { |