Add a config for the 9th generation of Lenovo Thinkpad X1

This solves lagging noticeable on high-resolution screens.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Mark Karpov
2021-11-16 16:40:15 +01:00
parent 4045d5f43a
commit 0492dd8216
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{ lib, pkgs, ... }:
{
imports = [
../.
];
# This solves lagging noticeable on high-resolution screens.
boot.kernelPackages = lib.mkIf
(lib.versionOlder pkgs.linux.version "5.15")
(lib.mkDefault pkgs.linuxPackages_latest);
}