mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	There are several significant differences between ThinkPads and the other Lenovo models, so this structure must be more precise
		
			
				
	
	
		
			12 lines
		
	
	
		
			341 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			341 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# NOTE: this doesn't inherit from the `general.nix`
 | 
						|
# as z510 is not a ThinkPad
 | 
						|
 | 
						|
{ config, pkgs, ... }:
 | 
						|
{
 | 
						|
  hardware.cpu.intel.updateMicrocode = true;
 | 
						|
  
 | 
						|
  # see https://github.com/NixOS/nixpkgs/issues/18356
 | 
						|
  # found buggy driver with method https://wiki.ubuntu.com/DebuggingKernelSuspend
 | 
						|
  boot.blacklistedKernelModules = [ "nouveau" ];
 | 
						|
}
 |