Steam: Difference between revisions

Scrumplex (talk | contribs)
m Add link to VR page in See also
Klinger (talk | contribs)
A litte bit expanded Beginning. Added instructions for protonup-qt.
Line 1: Line 1:
{{Expansion|See notes in ->}}
{{Expansion|See notes in ->}}


This page is intended to explain how to run [[Steam]], [[Steam]] games as well as proprietary DRM-free games under NixOS. A dedicated [[Games]] page lists games and reports on their successful execution on NixOS.  
This page is intended to explain how to run [[Steam]], [[Steam]] games as well as proprietary DRM-free games under NixOS.  
Steam on NixOS is very easy to install and use - it just works. But you may need to be aware of the limititions when trying to run a native Linux install of a game. Its often better to run the emulated Windows version via Proton.
A dedicated [[Games]] page lists games and reports on their successful execution on NixOS.  


== Install ==
== Install ==
Line 158: Line 160:
=== NixOS 21.11 ===
=== NixOS 21.11 ===


From this version of NixOS onwards, you should be able to play most games with Proton.
From this version of NixOS onwards, you should be able to play most games with Proton. If there is a Linux native version you have to activate a custom compatibility layer to use the emulated Windows version. Native Linux versions may not even start due to the way NixOS work.


=== Custom Proton versions ===
=== Custom Proton versions ===


By default, [[Steam]] looks for custom Proton versions such as GE-Proton in <code>~/.steam/root/compatibilitytools.d</code>. Additionally the environment variable <code>STEAM_EXTRA_COMPAT_TOOLS_PATHS</code> can be set to change or add to the paths which [[steam]] searches for custom Proton versions.
By default, [[Steam]] looks for custom Proton versions such as GE-Proton in <code>~/.steam/root/compatibilitytools.d</code>. Additionally the environment variable <code>STEAM_EXTRA_COMPAT_TOOLS_PATHS</code> can be set to change or add to the paths which [[steam]] searches for custom Proton versions.
=== Install Proton versions by GUI ===
You can install a GUI to easily install custom versions of proton (like GloriousEggroll version GE_Proton)
<syntaxHighlight lang=nix>
  environment.systemPackages = with pkgs; [
    protonup-qt
  ];
</syntaxHighlight>


== See also ==
== See also ==