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"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user