add gaming

This commit is contained in:
2025-11-05 19:09:55 -06:00
parent e329c17546
commit cdbb5f913d
2 changed files with 5 additions and 6 deletions

View File

@@ -10,17 +10,15 @@ in {
enable = lib.mkEnableOption "enable proton ge"; enable = lib.mkEnableOption "enable proton ge";
}; };
# this is an imperitive install after rebuild run `protonup` # this is an imperitive install after rebuild run `protonup`
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
protonup protonup-ng
]; ];
# tells `protonup` what path to use # tells `protonup` what path to use
environment.sessionVariables = { environment.sessionVariables = {
STEAM_EXTRA_COMPACT_TOOLS_PATHS = STEAM_EXTRA_COMPACT_TOOLS_PATHS = "/home/blake/.steam/root/compatibilitytools.d";
"/home/blake/.steam/root/compatibilitytools.d";
}; };
}; };
} }

View File

@@ -13,8 +13,9 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.steam = { programs.steam = {
enable = true; enable = true;
# requires setting launch option `gamescope %command%` gamescopeSession.enable = true; # requires setting launch option `gamescope %command%`
gamescopeSession.enable = true; remotePlay.openFirewall = true; # open ports for remote play
#dedicatedServer.openFirewall = true; # open ports for source dedicated server
}; };
}; };
} }