Steam: Difference between revisions

imported>Cx405
No edit summary
imported>Kbrucaj
m Adding instructions for steam hardware
Line 151: Line 151:
== steam-run ==
== steam-run ==
<code>steam-run</code> is a helper that can be used to run external programs in the steam FHS environment. This means that some third-party software, mostly games, can be run easily on NixOS using <code>steam-run</code>. Before trying other solutions, try starting your game this way, where <code>start-game.sh</code> is the script used to start the game on Linux.
<code>steam-run</code> is a helper that can be used to run external programs in the steam FHS environment. This means that some third-party software, mostly games, can be run easily on NixOS using <code>steam-run</code>. Before trying other solutions, try starting your game this way, where <code>start-game.sh</code> is the script used to start the game on Linux.
== Steam hardware ==
If you are using a Steam Controller or a Valve Index, you will want to add <code>hardware.steam-hardware.enable = true;</code> to your configurations.


<syntaxhighlight lang="commands">
<syntaxhighlight lang="commands">
  $ steam-run ./start-game.sh
  $ steam-run ./start-game.sh
</syntaxhighlight>
</syntaxhighlight>