1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-03 08:19:43 +01:00
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

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