summaryrefslogtreecommitdiff
path: root/sys/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot.nix')
-rw-r--r--sys/boot.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/sys/boot.nix b/sys/boot.nix
index 2660084..1e8685a 100644
--- a/sys/boot.nix
+++ b/sys/boot.nix
@@ -100,13 +100,17 @@ in
};
};
- hardware.cpu =
- let
- ucode.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
- in
- {
- amd = mkIf (cfg.cpuVendor == "amd") ucode;
- intel = mkIf (cfg.cpuVendor == "intel") ucode;
- };
+ hardware = {
+ cpu =
+ let
+ ucode.updateMicrocode = true;
+ in
+ {
+ amd = mkIf (cfg.cpuVendor == "amd") ucode;
+ intel = mkIf (cfg.cpuVendor == "intel") ucode;
+ };
+
+ enableRedistributableFirmware = true;
+ };
};
}