From f920b9bb6f5246a37cc856326f291e9351b49231 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 6 Aug 2025 22:35:07 -0700 Subject: [PATCH] use amd.overdrive.ppfeaturemask instead of kernel param --- etcnixos/system-yarn.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/etcnixos/system-yarn.nix b/etcnixos/system-yarn.nix index db0bfb6..331ca55 100644 --- a/etcnixos/system-yarn.nix +++ b/etcnixos/system-yarn.nix @@ -18,13 +18,11 @@ ]; nixpkgs.config.allowUnfree = true; + # allow overclocking (I actually underclock but lol) + hardware.amdgpu.overdrive.ppfeaturemask = "0xFFF7FFFF"; + networking.hostId = "abf570f9"; boot = { - kernelParams = [ - # allow overclocking (I actually underclock but lol) - "amdgpu.ppfeaturemask=0xFFF7FFFF" - ]; - kernelModules = [ # kernel module for case fan control "nct6775"