fix gamemode config bring back foot
This commit is contained in:
parent
95d451e459
commit
5103f403dc
3 changed files with 24 additions and 29 deletions
|
|
@ -107,30 +107,32 @@ in {
|
|||
# Optimizes running games
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
general = {
|
||||
renice = 10;
|
||||
ioprio = 0;
|
||||
inhibit_screensaver = 0;
|
||||
disable_splitlock = 1;
|
||||
softrealtime = "auto";
|
||||
};
|
||||
settings = {
|
||||
general = {
|
||||
renice = 10;
|
||||
ioprio = 0;
|
||||
inhibit_screensaver = 0;
|
||||
disable_splitlock = 1;
|
||||
softrealtime = "auto";
|
||||
};
|
||||
|
||||
# Warning: GPU optimisations have the potential to damage hardware
|
||||
#gpu = {
|
||||
# apply_gpu_optimisations = "accept-responsibility";
|
||||
# gpu_device = 0;
|
||||
# amd_performance_level = "vr";
|
||||
#};
|
||||
# Warning: GPU optimisations have the potential to damage hardware
|
||||
#gpu = {
|
||||
# apply_gpu_optimisations = "accept-responsibility";
|
||||
# gpu_device = 0;
|
||||
# amd_performance_level = "vr";
|
||||
#};
|
||||
|
||||
cpu = {
|
||||
parkcores = "no";
|
||||
pin_cores = "yes";
|
||||
cpu = {
|
||||
parkcores = "no";
|
||||
pin_cores = "yes";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||
custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue