gaming: add corectrl

This commit is contained in:
Leonardo Eugênio 2025-02-28 17:58:29 -03:00
parent b5e6127bb3
commit 00c686512c
3 changed files with 8 additions and 2 deletions

View file

@ -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 = {

View file

@ -59,5 +59,13 @@
}; };
}; };
}; };
programs.corectrl = {
enable = true;
gpuOverclock = {
enable = true;
ppfeaturemask = "0xffffffff";
};
};
}; };
} }

View file

@ -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 = {