move updateMicrocode

This commit is contained in:
Sean Buckley 2021-10-22 01:48:51 -04:00
parent 77be639722
commit 325d14280d
2 changed files with 5 additions and 6 deletions

View file

@ -41,11 +41,6 @@
''; '';
}; };
hardware = {
cpu.amd.updateMicrocode = true;
cpu.intel.updateMicrocode = true;
};
services.xserver = { services.xserver = {
libinput.mouse.middleEmulation = false; libinput.mouse.middleEmulation = false;
deviceSection = '' deviceSection = ''

View file

@ -21,7 +21,11 @@ let
(hardwareFor "physical" (hardwareFor "physical"
{ {
inherit (callPackage "${modulesPath}/installer/scan/not-detected.nix" { }) hardware; hardware.cpu.amd.updateMicrocode = true;
hardware.cpu.intel.updateMicrocode = true;
# <nixpkgs>/nixos/modules/installer/scan/not-detected.nix
hardware.enableRedistributableFirmware = true;
}) })
]; ];