mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	lenovo/yoga/7/14ILL10: update kernel version requirement
This commit is contained in:
		@@ -6,8 +6,8 @@
 | 
			
		||||
    ../../../../common/pc/ssd
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # touchpad, wifi, and bluetooth do not work before 6.12
 | 
			
		||||
  config.boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.12") (
 | 
			
		||||
  # device will not boot in kernel versions older than 6.15
 | 
			
		||||
  config.boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
 | 
			
		||||
    lib.mkDefault pkgs.linuxPackages_latest
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user