Steam: Difference between revisions

imported>K900
imported>Hw-lunemann
m Setting STEAM_EXTRA_COMPAT_TOOLS_PATHS to what is it's default anyways is superfluous. Additionally this is relevant for any custom proton version, therefore the renaming of the heading.
Line 138: Line 138:
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.


=== GE-Proton (GloriousEggroll) ===
=== Custom Proton versions ===


By default, Steam on NixOS won't see any manually-installed [https://github.com/GloriousEggroll/proton-ge-custom Proton-GE] versions. In order for Steam to be able to find these, you need to have the environment variable <code>STEAM_EXTRA_COMPAT_TOOLS_PATHS</code> set in your login session, for example:
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.
 
<syntaxhighlight lang=nix>
environment.variables.STEAM_EXTRA_COMPAT_TOOLS_PATHS = "~/.steam/root/compatibilitytools.d";
</syntaxhighlight>


{{note|As of 8/2022, the [https://search.nixos.org/packages?query&#61;protonup protonup] auto-updater in nixpkgs is currently broken due to a naming convention change; see discussion [https://github.com/AUNaseef/protonup/issues/25 here] which suggests using a fixed fork (which is not yet part of nixpkgs) until it is patched or a PR is accepted. (Or you can simply just continue to manually install new versions.)}}
{{note|As of 8/2022, the [https://search.nixos.org/packages?query&#61;protonup protonup] auto-updater in nixpkgs is currently broken due to a naming convention change; see discussion [https://github.com/AUNaseef/protonup/issues/25 here] which suggests using a fixed fork (which is not yet part of nixpkgs) until it is patched or a PR is accepted. (Or you can simply just continue to manually install new versions.)}}