nixos/modules/system/programs/gaming.nix
2026-11-03 15:41:21 +01:00

26 lines
665 B
Nix

{
flake.nixosModules.gaming =
{ pkgs, ... }:
{
programs.steam = {
enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
protontricks.enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
programs.gamescope = {
enable = true;
capSysNice = true;
enableWsi = true;
};
programs.gamemode.enable = true;
environment.systemPackages = with pkgs; [
heroic # Epic-Fassung von Rocket League (braucht GE-Proton)
umu-launcher # Proton-Runtime für Heroic / Nicht-Steam-Games
];
};
}