mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-11 20:29:47 +01:00
12 lines
245 B
Nix
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);
|
||
|
}
|