{...}: { config.flake.modules.nixos.steam = { lib, config, ... }: { options.azos.steam.enable = lib.mkOption { default = true; type = lib.types.bool; }; config = lib.mkIf config.azos.steam.enable { programs.steam.enable = true; # HORI STICK A fight stick (0f0d:0040) is missing from Steam's bundled # 60-steam-input.rules, so Steam can't open its hidraw node for Steam # Input and falls back to a generic joystick mapping that drops BTN_C # (Circle). Grant the same uaccess the other HORI devices get. services.udev.extraRules = '' KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0040", MODE="0660", TAG+="uaccess" ''; }; }; }