add: gaming

This commit is contained in:
kenji
2025-12-26 13:45:39 -06:00
parent 4b1d5c5f02
commit ab9247bc45
5 changed files with 47 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{pkgs, ...}: {
hardware.graphics = {
enable = true;
enable32Bit = true; # For 32-bit games
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
extest.enable = true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
programs.gamemode.enable = true;
# Fix slow Steam Download speeds
services.resolved.enable = true;
}