From 7154844f4a6ead966b47fb211ab6190859cc488e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 1 Oct 2022 22:47:39 +0200 Subject: Hosts-separation: Move hardware.cpu.intel.updateMicrocode to host specific config --- hardware/chromebook/hardware.nix | 1 + hardware/laptop/hardware.nix | 2 ++ hosts/configuration.nix | 5 +---- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hardware/chromebook/hardware.nix b/hardware/chromebook/hardware.nix index 85b7227..5fe7a19 100644 --- a/hardware/chromebook/hardware.nix +++ b/hardware/chromebook/hardware.nix @@ -39,6 +39,7 @@ in }; hardware = { + cpu.intel.updateMicrocode = true; opengl = { enable = true; driSupport = true; diff --git a/hardware/laptop/hardware.nix b/hardware/laptop/hardware.nix index cbec828..35ac431 100644 --- a/hardware/laptop/hardware.nix +++ b/hardware/laptop/hardware.nix @@ -37,6 +37,8 @@ in }; hardware = { + cpu.intel.updateMicrocode = true; + opengl = { enable = true; driSupport = true; diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 4a34c39..0a6c2d5 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -187,10 +187,7 @@ }; }; - hardware = { - enableRedistributableFirmware = true; - cpu.intel.updateMicrocode = true; - }; + hardware.enableRedistributableFirmware = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions -- cgit 1.4.1