Jump to content

Gamemode: Difference between revisions

imported from old wiki
m (added to category gamemode)
(imported from old wiki)
 
Line 98: Line 98:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
programs.gamemode.settings.general.inhibit_screensaver = 0;
programs.gamemode.settings.general.inhibit_screensaver = 0;
</syntaxhighlight>
Setting the power scheme might result in the following error:
<syntaxhighlight lang=text>
::: Verifying CPU governor setting
ERROR: Governor was not set to performance (was actually schedutil)!
::: Failed!
</syntaxhighlight>
Adding the the user to the gamemode group resolves this error.
<syntaxhighlight lang="nix">
extraGroups = ["gamemode"];
</syntaxhighlight>
</syntaxhighlight>


[[Category:Gaming]]
[[Category:Gaming]]