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 ];