mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	apple/macbook-air/6: init
This commit is contained in:
		
							
								
								
									
										14
									
								
								apple/macbook-air/6/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								apple/macbook-air/6/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
{ config, lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../. ];
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
    extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
 | 
			
		||||
    kernelModules = [ "mba6x_bl" ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.xserver.deviceSection = lib.mkDefault ''
 | 
			
		||||
    Option "Backlight" "mba6x_backlight"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										8
									
								
								apple/macbook-air/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								apple/macbook-air/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
    ../../common/cpu/intel
 | 
			
		||||
    ../../common/pc/laptop
 | 
			
		||||
    ../../common/pc/laptop/ssd
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user