From 6e66dac8972f4c91e9a60f2b64449179144c5df2 Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Sun, 9 May 2021 02:14:21 -0400 Subject: [PATCH] Fix error --- common/boot/bios.nix | 2 +- common/boot/efi.nix | 2 +- common/boot/firmware.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/boot/bios.nix b/common/boot/bios.nix index 042a30b..b929d73 100644 --- a/common/boot/bios.nix +++ b/common/boot/bios.nix @@ -13,7 +13,7 @@ in { config = mkIf cfg.enable { # Enable microcode - firmware.x86_64 = true; + firmware.x86_64.enable = true; # Use GRUB 2 for BIOS boot.loader = { timeout = 2; diff --git a/common/boot/efi.nix b/common/boot/efi.nix index 1042d50..bfcac09 100644 --- a/common/boot/efi.nix +++ b/common/boot/efi.nix @@ -10,7 +10,7 @@ in { config = mkIf cfg.enable { # Enable microcode - firmware.x86_64 = true; + firmware.x86_64.enable = true; # Use GRUB2 for EFI boot.loader = { efi.canTouchEfiVariables = true; diff --git a/common/boot/firmware.nix b/common/boot/firmware.nix index b99c0dd..a1e1551 100644 --- a/common/boot/firmware.nix +++ b/common/boot/firmware.nix @@ -8,7 +8,7 @@ in { enable = mkEnableOption "enable x86_64 firmware"; }; - config = mkIf cfg.firmware.x86_64 { + config = mkIf cfg.firmware.x86_64.enable { hardware.cpu.intel.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true; };