summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-23 23:01:09 +0200
committerlassulus <git@lassul.us>2023-07-23 23:01:09 +0200
commitcaa22d7d6457b0a69fb0c60acaa396c4b2aee7f3 (patch)
tree55cd4bfa225d0ded2feaab0db962ba81d6605390 /lass
parent364e8970a79dc6d0a482d200efe1466db7f617fc (diff)
l aergia.r: enable corectrl
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/aergia/physical.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/lass/1systems/aergia/physical.nix b/lass/1systems/aergia/physical.nix
index ef62478b4..9f06dccdc 100644
--- a/lass/1systems/aergia/physical.nix
+++ b/lass/1systems/aergia/physical.nix
@@ -19,11 +19,9 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [
-
# use less power with pstate
"amd_pstate=passive"
-
# suspend
"resume_offset=178345675"
];
@@ -63,6 +61,14 @@
];
# corectrl
+ programs.corectrl = {
+ enable = true;
+ gpuOverclock = {
+ enable = true;
+ ppfeaturemask = "0xffffffff";
+ };
+ };
+ users.users.mainUser.extraGroups = [ "corectrl" ];
# use newer ryzenadj