mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
move updateMicrocode
This commit is contained in:
parent
77be639722
commit
325d14280d
2 changed files with 5 additions and 6 deletions
|
@ -41,11 +41,6 @@
|
|||
'';
|
||||
};
|
||||
|
||||
hardware = {
|
||||
cpu.amd.updateMicrocode = true;
|
||||
cpu.intel.updateMicrocode = true;
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
libinput.mouse.middleEmulation = false;
|
||||
deviceSection = ''
|
||||
|
|
|
@ -21,7 +21,11 @@ let
|
|||
|
||||
(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;
|
||||
})
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue