diff options
author | William A. Kennington III <william@wkennington.com> | 2015-03-25 14:44:36 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-03-25 14:44:36 -0700 |
commit | 86666893f00bb26ea5cc37a59bb2cef420b27df3 (patch) | |
tree | 16d451bf2c1fc920cfcea8bac955f8098f201ead /nixos/modules/hardware/cpu | |
parent | 27f355c1e3dcbcceea8556cced38193f0746e76f (diff) |
nixos/microcode-amd: Update to early initrd loader
Diffstat (limited to 'nixos/modules/hardware/cpu')
-rw-r--r-- | nixos/modules/hardware/cpu/amd-microcode.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/hardware/cpu/amd-microcode.nix b/nixos/modules/hardware/cpu/amd-microcode.nix index 86a3df5da21d..d44f01a49590 100644 --- a/nixos/modules/hardware/cpu/amd-microcode.nix +++ b/nixos/modules/hardware/cpu/amd-microcode.nix @@ -22,8 +22,7 @@ with lib; ###### implementation config = mkIf config.hardware.cpu.amd.updateMicrocode { - hardware.firmware = [ "${pkgs.amdUcode}/lib/firmware" ]; - boot.kernelModules = [ "microcode" ]; + boot.initrd.prepend = [ "${pkgs.microcodeAmd}/amd-ucode.img" ]; }; } |