Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
cpu/amd: add amdctl to vendored packages
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Mar 4, 2024
1 parent f2a28b5 commit 1908224
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/common/system/hardware/cpu/amd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
inherit (dev.cpu.amd) pstate zenpower;
in {
config = mkIf (builtins.elem dev.cpu.type ["amd" "vm-amd"]) {
environment.systemPackages = [pkgs.amdctl];

hardware.cpu.amd.updateMicrocode = true;
boot = mkMerge [
{
Expand Down

0 comments on commit 1908224

Please sign in to comment.