Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lenovo/thinkpad/t480s: Automatically downgrade kernel to 6.10 #1258

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion lenovo/thinkpad/t480s/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ lib, ... }:
{
pkgs,
lib,
config,
...
}:

{
imports = [
Expand All @@ -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