add gaming module

This commit is contained in:
TheWanderingCrow 2025-06-25 09:46:11 -04:00
parent 166c8050fd
commit df118f95a4
2 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{pkgs, ...}: {
programs = {
steam = {
enable = true;
protontricks = {
enable = true;
};
};
gamescope = {
enable = true;
capSysNice = true;
};
#FIXME(TODO): Figure out what the best settings are, maybe override these in specific host configs?
gamemode = {
enable = true;
settings = {
general = {
softrealtime = "on";
inhibit_screensaver = 1;
};
};
};
};
}