mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	asus-zephyrus-ga402: remove unused kernel parameter
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							f6bb34a52a
						
					
				
				
					commit
					cb4dc98f77
				
			@@ -1,4 +1,4 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
{ lib, config, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
@@ -22,4 +22,11 @@
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelParams = [ "pcie_aspm.policy=powersupersave" ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  assertions = [
 | 
			
		||||
    {
 | 
			
		||||
      assertion = (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2");
 | 
			
		||||
      message = "The ga402 requires kernel version >=6.2 to ensure that fans are correctly managed. Please upgrade nixpkgs for this system.";
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user