nixos-config/modules/programs/gamemode/default.nix

22 lines
384 B
Nix
Raw Normal View History

2021-08-02 19:54:32 +00:00
{ ... }:
{
2021-10-22 19:40:21 +00:00
config.programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
reaper_freq = 5;
desiredgov = "performance";
igpu_desiredgov = "powersave";
igpu_power_threshold = 0.3;
softrealtime = "on";
renice = 0;
ioprio = 0;
inhibit_screensaver = 1;
};
};
2021-08-02 19:54:32 +00:00
};
}