diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-07-10 18:17:12 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-07-10 18:17:12 -0600 |
| commit | 08e746700341dda3e3bdf704332fc3c07053d3e7 (patch) | |
| tree | e945407d75a572f9a000d9583a63ced57d76478c /sys/boot | |
| parent | 698c37f03270fc97fb465e1f55054014fa10551f (diff) | |
sys/boot: enable redistributable firmware
Diffstat (limited to '')
| -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; + }; }; } |
