gaming: add corectrl
This commit is contained in:
parent
b5e6127bb3
commit
00c686512c
|
@ -14,7 +14,6 @@ in
|
||||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"video=DP-1:1920x1080@144"
|
"video=DP-1:1920x1080@144"
|
||||||
"amdgpu.ppfeaturemask=0xfffd7fff" # enable undervolting
|
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.amd-fan-control = {
|
systemd.services.amd-fan-control = {
|
||||||
|
|
|
@ -59,5 +59,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.corectrl = {
|
||||||
|
enable = true;
|
||||||
|
gpuOverclock = {
|
||||||
|
enable = true;
|
||||||
|
ppfeaturemask = "0xffffffff";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,6 @@ in
|
||||||
for_window [title=.*] inhibit_idle fullscreen
|
for_window [title=.*] inhibit_idle fullscreen
|
||||||
exec swaymsg workspace 2
|
exec swaymsg workspace 2
|
||||||
exec_always systemctl --user restart waybar.service
|
exec_always systemctl --user restart waybar.service
|
||||||
exec corectrl --minimize-systray
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
services.gammastep = {
|
services.gammastep = {
|
||||||
|
|
Loading…
Reference in a new issue