mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
			
				
					
						
					
					356ebeaaf77f2019c0c5d6756ec8ded4cabd1353
				
			
			
		
	general-intel.nix for defaults with Intel CPU
		
			
			The x1xx series relies on a AMD CPU, but all other (currently supported) ThinkPads use an Intel CPU, so `general-intel.nix` is responsible for all Intel defaults.
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		A collection of NixOS modules covering hardware quirks.
Usage
The simplest way to use this repo for now is to clone locally and include by path:
{ config, pkgs, ... }:
{
  imports =
    [ /home/user/nixos-hardware/acme/thunkpad-2000.nix ];
}
Modules should favor usability and stability, so performance hacks should be activated by an additional a NixOS option or conservative and performance configs can be declared in seperate modules.
Because modules can only be tested with the appropriate hardware, quality assurance is up to you.
Simple tips and tricks
Disable PC speaker
boot.blacklistedKernelModules = [ "pcspkr" ];
Description
				
					Languages
				
				
								
								
									Nix
								
								96.8%
							
						
							
								
								
									Ruby
								
								1.6%
							
						
							
								
								
									Python
								
								1.4%
							
						
							
								
								
									Shell
								
								0.2%