nixos-hardware/lenovo/thinkpad/x1/9th-gen/default.nix
Mark Karpov 0492dd8216
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>
2021-11-18 10:55:46 +01:00

12 lines
245 B
Nix

{ 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);
}