mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
fix: enable steam only on x86_64 platform
This commit is contained in:
@@ -37,7 +37,7 @@ in {
|
|||||||
# 2. For others, launching the game through gamemoderun: `gamemoderun ./game`
|
# 2. For others, launching the game through gamemoderun: `gamemoderun ./game`
|
||||||
# 3. For steam: `gamemoderun steam-runtime`
|
# 3. For steam: `gamemoderun steam-runtime`
|
||||||
programs.gamemode = {
|
programs.gamemode = {
|
||||||
enable = true;
|
enable = pkgs.stdenv.isx86_64;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
softrealtime = "auto";
|
softrealtime = "auto";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# ~/.local/share/Steam/steamapps/common - The default Game install location
|
# ~/.local/share/Steam/steamapps/common - The default Game install location
|
||||||
# ~/.steam/root - A symlink to ~/.local/share/Steam
|
# ~/.steam/root - A symlink to ~/.local/share/Steam
|
||||||
# ~/.steam - Some Symlinks & user info
|
# ~/.steam - Some Symlinks & user info
|
||||||
enable = true;
|
enable = pkgs.stdenv.isx86_64;
|
||||||
# https://github.com/ValveSoftware/gamescope
|
# https://github.com/ValveSoftware/gamescope
|
||||||
# enables features such as resolution upscaling and stretched aspect ratios (such as 4:3)
|
# enables features such as resolution upscaling and stretched aspect ratios (such as 4:3)
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user