meow
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{ modules, ... }:
|
||||
{
|
||||
modules.gamemode = {
|
||||
homeManager =
|
||||
{ home, ... }:
|
||||
{
|
||||
|
||||
};
|
||||
nixos =
|
||||
{ nixos, ... }:
|
||||
{
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
settings = {
|
||||
general = {
|
||||
renice = 10;
|
||||
ioprio = 0;
|
||||
inhibit_screensaver = 1;
|
||||
disable_splitlock = 1;
|
||||
};
|
||||
cpu = {
|
||||
park_cores = "no";
|
||||
pin_cores = "yes";
|
||||
};
|
||||
gpu = {
|
||||
apply_gpu_optimisations = "accept-responsibility";
|
||||
gpu_device = 1;
|
||||
nv_powermizer_mode = 1;
|
||||
nv_perf_level = -1;
|
||||
};
|
||||
script = {
|
||||
gamestart = "nvidia-smi --power-limit=175";
|
||||
gamestop = "nvidia-smi --power-limit=125";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user