mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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 = {
|
services.xserver = {
|
||||||
libinput.mouse.middleEmulation = false;
|
libinput.mouse.middleEmulation = false;
|
||||||
deviceSection = ''
|
deviceSection = ''
|
||||||
|
|
|
@ -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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue