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:
parent
672ac2ac86
commit
3d3b0f50bf
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue