Jump to content

Packages/sc-controller: Difference between revisions

From NixOS Wiki
imported>KREYREN
Initial declaration of the sc-controller
(No difference)

Revision as of 02:06, 8 July 2023

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" ];