steam.nix (404B)
1 { pkgs, ... }: 2 3 { 4 programs = { 5 gamemode.enable = true; 6 steam.enable = true; 7 steam.gamescopeSession.enable = true; 8 }; 9 10 environment.systemPackages = with pkgs; [ 11 # sort:start 12 heroic 13 mangohud 14 protontricks 15 protonup-rs 16 # sort:end 17 ]; 18 19 environment.sessionVariables = { 20 STEAM_EXTRA_COMPAT_TOOLS_PATHS = 21 "\${HOME}/.steam/root/compatibilitytools.d"; 22 }; 23 24 }