fix microcode

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-12-21 17:20:25 -05:00
parent e688ff36ae
commit f8fab80663
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
}; };
config = lib.mkIf config.within.microcode.enable { config = lib.mkIf config.within.microcode.enable {
hardware.cpu.intel.updateMicrocode = (config.cadey.cpu.vendor == "intel"); hardware.cpu.intel.updateMicrocode = (config.within.microcode.vendor == "intel");
hardware.cpu.amd.updateMicrocode = (config.cadey.cpu.vendor == "amd"); hardware.cpu.amd.updateMicrocode = (config.within.microcode.vendor == "amd");
}; };
} }