Steam: Difference between revisions
imported>Hypnosis2839 →gamescope: update gamescope instructions |
imported>Hypnosis2839 →Adding missing dependencies: use programs.steam.package option instead of environment.systemPackages |
||
| Line 64: | Line 64: | ||
== Adding missing dependencies == | == Adding missing dependencies == | ||
< | In some cases, you may need to override steam to provide issing dependencies. | ||
Use the <code>programs.steam.package</code> for this. | |||
</ | |||
=== Bumblebee and Primus === | === Bumblebee and Primus === | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
programs.steam.package = pkgs.steam.override { | |||
withPrimus = true; | |||
extraPkgs = pkgs: [ bumblebee glxinfo ]; | |||
}; | |||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 89: | Line 78: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
programs.java.enable = true; | programs.java.enable = true; | ||
programs.steam.package = pkgs.steam.override { withJava = true; }; | |||
</syntaxHighlight> | </syntaxHighlight> | ||
== gamescope == | |||
To use the [https://github.com/ValveSoftware/gamescope gamescope] compositor, which enables features such as resolution upscaling and stretched aspect ratios (such as 4:3), set | |||
<syntaxHighlight lang=nix> | |||
programs.steam.gamescopeSession.enable = true; | |||
</syntaxHighlight> | |||
in your system configuration. | |||
== Troubleshooting == | == Troubleshooting == | ||