1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 18:49:45 +01:00

lenovo/thinkpad/t480s: Automatically downgrade kernel to 6.10

This commit is contained in:
Gavin John 2024-11-19 14:42:43 -08:00
parent 672ac2ac86
commit 3d3b0f50bf

View file

@ -1,4 +1,9 @@
{ lib, ... }:
{
pkgs,
lib,
config,
...
}:
{
imports = [
@ -9,4 +14,10 @@
];
services.throttled.enable = lib.mkDefault true;
# There is currently a kernel regression with the psmouse driver. As such, the kernel version is held back to 6.10.
# See https://bugzilla.kernel.org/show_bug.cgi?id=219352
boot.kernelPackages = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages "6.11") (
lib.warn "Linux kernel held back to 6.10 due to regression: https://bugzilla.kernel.org/show_bug.cgi?id=219352" pkgs.linuxPackages_6_10
);
}