mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	This solves lagging noticeable on high-resolution screens. Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
		
			
				
	
	
		
			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);
 | 
						|
}
 |