about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/profpatsch/base-workstation.nix5
-rw-r--r--modules/hardware/thinkpad.nix5
2 files changed, 5 insertions, 5 deletions
diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix
index a48c18b4..d8deeb62 100644
--- a/machines/profpatsch/base-workstation.nix
+++ b/machines/profpatsch/base-workstation.nix
@@ -14,11 +14,6 @@ in {
 
   config = {
 
-    ###########
-    # Hardware
-
-    hardware.cpu.intel.updateMicrocode = true;
-
     networking = {
       # better for untrusted networks
       firewall = {
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 ];