Installing SteamVR via NixOS?

Has anyone used SteamVR with NixOS?

In the Valve instructions here , I added the following udev parameters to my .nix configuration:

services.udev.extraRules = '' # HTC Vive HID Sensor naming and permissioning KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2101", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2000", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1043", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2050", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2011", TAG+="uaccess" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2012", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess" # HTC Camera USB Node SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8328", TAG+="uaccess" # HTC Mass Storage Node SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8200", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8a12", TAG+="uaccess" ''; 

However, I get the error message:

 Error: You are missing the following 32-bit libraries, and Steam may not run: libgobject-2.0.so.0, libglib-2.0.so.0, libgio-2.0.so.0, libgtk-x11-2.0.so.0, libpulse.so.0, libgdk_pixbuf-2.0.so.0 

as well as a popup error:

  SteamVR failed to initialized for unknown reasons. (Error: Shared IPC Compositor Connect Failed (306)) 

Other relevant weekend breaks:

  • I get a lot of sh: lsb_release: command not found .
  • I get a lot of sh: pidof: command not found
  • I get Initialize() is failed!!!
  • I get the message `/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux32/vrserver: when loading general
  • I am running from the nixos-unstable channel.
+5
source share

Source: https://habr.com/ru/post/1272377/


All Articles