about summary refs log tree commit diff
path: root/modules/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/thinkpad.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/hardware/thinkpad.nix b/modules/hardware/thinkpad.nix
index e4c1cd70..f296c5d6 100644
--- a/modules/hardware/thinkpad.nix
+++ b/modules/hardware/thinkpad.nix
@@ -12,6 +12,11 @@ in
   };
 
   config = mkIf cfg.enable {
+
+    # We need to update the Intel microcode on every update,
+    # otherwise there can be problems with newers kernels.
+    hardware.cpu.intel.updateMicrocode = mkDefault true;
+
     # read acpi stats (e.g. battery)
     environment.systemPackages = [ pkgs.acpi ];