diff --git a/modules/programs/gamemode/default.nix b/modules/programs/gamemode/default.nix new file mode 100644 index 0000000..1fd6fed --- /dev/null +++ b/modules/programs/gamemode/default.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + home-manager.users.alexander.xdg.configFile = { + "gamemode/gamemode.ini".source = ./gamemode.ini; + }; +} diff --git a/modules/programs/gamemode/gamemode.ini b/modules/programs/gamemode/gamemode.ini new file mode 100644 index 0000000..589045a --- /dev/null +++ b/modules/programs/gamemode/gamemode.ini @@ -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] \ No newline at end of file