From 2d08a50d8d8497c698ef6fb125ab5cf9e5c97630 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 27 Oct 2023 23:16:22 -0500 Subject: [PATCH] feat(luna): enable intel update microcode --- hosts/luna/os/default.nix | 1 + hosts/luna/os/hardware.nix | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 hosts/luna/os/hardware.nix diff --git a/hosts/luna/os/default.nix b/hosts/luna/os/default.nix index 88dcd6f..0e87123 100644 --- a/hosts/luna/os/default.nix +++ b/hosts/luna/os/default.nix @@ -4,6 +4,7 @@ imports = [ ./boot.nix ./filesystem.nix + ./hardware.nix ]; system.stateVersion = "23.11"; } diff --git a/hosts/luna/os/hardware.nix b/hosts/luna/os/hardware.nix new file mode 100644 index 0000000..0c95975 --- /dev/null +++ b/hosts/luna/os/hardware.nix @@ -0,0 +1,4 @@ +{ lib, config, ... }: +{ + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}