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; };