diff options
| -rw-r--r-- | sys/boot.nix | 20 |
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; + }; }; } |
