Steam: Difference between revisions

imported>Samueldr
Adds a quick note about steam-run
imported>Davidak
No edit summary
Line 4: Line 4:
== I want to play ==
== I want to play ==
For 64-bit systems it's important to have <syntaxhighlight lang="nix" inline>hardware.opengl.driSupport32Bit = true</syntaxhighlight> in your NixOS configuration. You'll also need <syntaxhighlight lang="nix" inline>hardware.pulseaudio.support32Bit = true</syntaxhighlight> if you are using PulseAudio - this will enable 32bit ALSA apps integration.
For 64-bit systems it's important to have <syntaxhighlight lang="nix" inline>hardware.opengl.driSupport32Bit = true</syntaxhighlight> in your NixOS configuration. You'll also need <syntaxhighlight lang="nix" inline>hardware.pulseaudio.support32Bit = true</syntaxhighlight> if you are using PulseAudio - this will enable 32bit ALSA apps integration.
For detection of controllers and VR Headsets like HTC Vive and Valve Index, you have to enable udev rules with <syntaxhighlight lang="nix" inline>hardware.steam-hardware.enable = true</syntaxhighlight>.


In short, add this to your <code>configuration.nix</code>
In short, add this to your <code>configuration.nix</code>
Line 14: Line 16:
   hardware.opengl.driSupport32Bit = true;
   hardware.opengl.driSupport32Bit = true;
   hardware.pulseaudio.support32Bit = true;
   hardware.pulseaudio.support32Bit = true;
  hardware.steam-hardware.enable = true;
}
}
</syntaxHighlight>
</syntaxHighlight>