fix: enable steam only on x86_64 platform

This commit is contained in:
Ryan Yin
2025-07-13 02:02:30 +08:00
parent e6f0569fd3
commit cc82892eb7
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ in {
# 2. For others, launching the game through gamemoderun: `gamemoderun ./game`
# 3. For steam: `gamemoderun steam-runtime`
programs.gamemode = {
enable = true;
enable = pkgs.stdenv.isx86_64;
settings = {
general = {
softrealtime = "auto";

View File

@@ -8,7 +8,7 @@
# ~/.local/share/Steam/steamapps/common - The default Game install location
# ~/.steam/root - A symlink to ~/.local/share/Steam
# ~/.steam - Some Symlinks & user info
enable = true;
enable = pkgs.stdenv.isx86_64;
# https://github.com/ValveSoftware/gamescope
# enables features such as resolution upscaling and stretched aspect ratios (such as 4:3)
gamescopeSession.enable = true;