mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
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:
11
lenovo/thinkpad/x1/9th-gen/default.nix
Normal file
11
lenovo/thinkpad/x1/9th-gen/default.nix
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user