Packages/sc-controller

From NixOS Wiki
Revision as of 02:06, 8 July 2023 by imported>KREYREN (Initial declaration of the sc-controller)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Open-Source Graphical Configurator for The Steam Controller.

NixOS Configuration

The package requires an additional NixOS configuration to avoid LIBUSB_ERROR_ACCESS [-3]: [1]

users.groups.steam-controller = { };

users.users.USER.extraGroups = [ "steam-controller" ];

services.udev.extraRules = ''
  SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", GROUP="steam-controller", MODE="0660"
  KERNEL=="hidraw*", KERNELS=="*28DE:*", GROUP="steam-controller", MODE="0660"
  KERNEL=="uinput", MODE="0660", GROUP="steam-controller", OPTIONS+="static_node=uinput"
'';

boot.kernelModules = [ "uinput" ];