diff --git a/hardware/amd/cpu.nix b/hardware/amd/cpu.nix index 29d9a2a..0dc264b 100644 --- a/hardware/amd/cpu.nix +++ b/hardware/amd/cpu.nix @@ -27,6 +27,10 @@ in { "amd_pstate.shared_memory" = 1; }; + aviallon.boot.patches = mkIf config.aviallon.optimizations.enable { + amdClusterId.enable = mkIf cpuIsZen true; + }; + boot.extraModulePackages = with config.boot.kernelPackages; [] ++ optional cpuIsZen (info "enable zenpower for Ryzen CPU" zenpower) ;