mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Enforce proper naming: all paths are lowercase and hyphen-separated, if there's a line of models (aspire, macbook-pro, thinkpad) it becomes a subdirectory. Documentation for profiles is moved to README files in respective directories. Add an Org mode table that lists all available profiles and their paths. Instead of fetching repo locally, use a Nix channel. Making hardware profiles read-only should improve quality and amount of participation long-term.
		
			
				
	
	
		
			13 lines
		
	
	
		
			202 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			202 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [ ../intel.nix ];
 | 
						|
 | 
						|
  boot = {
 | 
						|
    extraModprobeConfig = ''
 | 
						|
      options bbswitch use_acpi_to_detect_card_state=1
 | 
						|
    '';
 | 
						|
    kernelModules = [ "tpm-rng" ];
 | 
						|
  };
 | 
						|
}
 |