mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	This does not compile against 6.x Kernel. This is also no longer necessary for 6.x Kernel. One can use "acpi_video0" device instead of "mba6x_backlight" device.
		
			
				
	
	
		
			15 lines
		
	
	
		
			230 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			230 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, lib, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [ ../. ];
 | 
						|
 | 
						|
  boot = {
 | 
						|
    # Divides power consumption by two.
 | 
						|
    kernelParams = [ "acpi_osi=" ];
 | 
						|
  };
 | 
						|
 | 
						|
  services.xserver.deviceSection = lib.mkDefault ''
 | 
						|
    Option "TearFree" "true"
 | 
						|
  '';
 | 
						|
}
 |