26 lines
665 B
Nix
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
|
|
];
|
|
};
|
|
}
|