diff --git a/configuration/modules/steam.nix b/configuration/modules/steam.nix index baa3811..d76d8c7 100644 --- a/configuration/modules/steam.nix +++ b/configuration/modules/steam.nix @@ -1,8 +1,18 @@ -{ +{pkgs, ...}: { programs.steam = { enable = true; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; localNetworkGameTransfers.openFirewall = true; }; + + programs.gamemode.enable = true; + + environment.systemPackages = with pkgs; [ + protonup + ]; + + environment.sessionVariables = { + STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d"; + }; } diff --git a/flake.lock b/flake.lock index 549b6e3..666d16c 100644 --- a/flake.lock +++ b/flake.lock @@ -150,15 +150,16 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1772397941, - "narHash": "sha256-1VYMSg9m4ceI8Cz/3oCUP50PHe9OkGJG2YdufgC7tzs=", + "lastModified": 1772147792, + "narHash": "sha256-dxrp+Srkq9mQ+qg53oFI1RKieIi9epEdXyJkv44bZP4=", "ref": "refs/heads/main", - "rev": "89e8300bfb9d288d12ed34264002d8d2e6862c5f", - "revCount": 14, + "rev": "2abbacf66e99db523d624037f3e449aa40e8f366", + "revCount": 12, "type": "git", "url": "https://git.stribrny.org/max_ag/floating-calculator" }, "original": { + "rev": "2abbacf66e99db523d624037f3e449aa40e8f366", "type": "git", "url": "https://git.stribrny.org/max_ag/floating-calculator" }