Revert "monolith: remove corectrl"

This reverts commit 43dd44d237.
This commit is contained in:
Leonardo Eugênio 2024-06-10 22:50:25 -03:00
parent be3f65adb9
commit e3325220f4
2 changed files with 12 additions and 0 deletions

View file

@ -40,6 +40,7 @@ in
"zenpower"
];
boot.kernelParams = [
"amdgpu.dcdebugmask=0x10" # amdgpu undervolting bug
"video=DP-1:1920x1080@144"
# hibernation
"resume=LABEL=BTRFS_ROOT" # findmnt -o LABEL --noheadings /swap/
@ -63,6 +64,16 @@ in
rocmPackages.rocm-smi
];
boot.kernelPackages = pkgs.linuxPackages_6_1;
programs.corectrl = {
enable = true;
gpuOverclock = {
enable = true;
ppfeaturemask = "0xffffffff";
};
};
fileSystems."/" = {
device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs";

View file

@ -104,6 +104,7 @@ in
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
exec swaymsg workspace 2
exec_always systemctl --user restart waybar.service
exec corectrl --minimize-systray
'';
};
services.gammastep = {