From 7f4a8dae77bdc398e39e10ab8e79a40515655cb2 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 30 Apr 2026 18:33:10 -0400 Subject: [PATCH] yarn: PROPERLY enable amdgpu overdrive --- modules/desktop-common.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/desktop-common.nix b/modules/desktop-common.nix index 4bc791a..febcdca 100644 --- a/modules/desktop-common.nix +++ b/modules/desktop-common.nix @@ -28,8 +28,9 @@ inputs.nixos-hardware.nixosModules.common-pc-ssd ]; - # allow overclocking (I actually underclock but lol) - hardware.amdgpu.overdrive.ppfeaturemask = "0xFFFFFFFF"; + # expose amdgpu overdrive sysfs (pp_od_clk_voltage, fan curves, ...) for LACT. + # nixpkgs default ppfeaturemask (0xfffd7fff) already has the overdrive bit set. + hardware.amdgpu.overdrive.enable = true; # Add niri to display manager session packages services.displayManager.sessionPackages = [ niri-package ];