diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-26 18:26:54 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-26 18:52:37 +0200 |
commit | d7c905b69020a46e8f549ae86b77eb884f89ed68 (patch) | |
tree | c56c1d67fd1d4f647670e93bd81e718b6fb671d6 /modules/hardware/thinkpad.nix | |
parent | 8cfd13c077ea127423dd2122ca6404ce039076b6 (diff) |
modules/hardware/thinkpad: Default intel.updateMicrocode to true
Not updating the microcode on thinkpads is kind of a death sentence for some kernel updates, so let’s do it by default. In case somebody uses it for an AMD thinkpad in the future, we might have to check whether the option creates a problem.
Diffstat (limited to 'modules/hardware/thinkpad.nix')
-rw-r--r-- | modules/hardware/thinkpad.nix | 5 |
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 ]; |