gamemode: Add gamemode config
This commit is contained in:
parent
93d601c524
commit
a8fd0942a5
7
modules/programs/gamemode/default.nix
Normal file
7
modules/programs/gamemode/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
home-manager.users.alexander.xdg.configFile = {
|
||||
"gamemode/gamemode.ini".source = ./gamemode.ini;
|
||||
};
|
||||
}
|
29
modules/programs/gamemode/gamemode.ini
Normal file
29
modules/programs/gamemode/gamemode.ini
Normal file
@ -0,0 +1,29 @@
|
||||
[general]
|
||||
reaper_freq=5
|
||||
desiredgov=performance
|
||||
; TODO: Maybe set this
|
||||
;defaultgov=powersave
|
||||
|
||||
; The iGPU desired governor is used when the integrated GPU is under heavy load
|
||||
igpu_desiredgov=powersave
|
||||
igpu_power_threshold=0.3
|
||||
|
||||
softrealtime=on;
|
||||
renice=0
|
||||
ioprio=0
|
||||
inhibit_screensaver=1
|
||||
|
||||
[filter]
|
||||
; If "whitelist" entry has a value(s)
|
||||
; gamemode will reject anything not in the whitelist
|
||||
;whitelist=RiseOfTheTombRaider
|
||||
|
||||
; Gamemode will always reject anything in the blacklist
|
||||
;blacklist=HalfLife3
|
||||
; glxgears
|
||||
|
||||
[gpu]
|
||||
|
||||
[supervisor]
|
||||
|
||||
[custom]
|
Loading…
Reference in New Issue
Block a user