mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	apple/macbook-air/4: resolve tearing
This commit is contained in:
		@@ -1,7 +1,13 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../. ];
 | 
			
		||||
 | 
			
		||||
  boot.kernelParams = [
 | 
			
		||||
    "acpi_backlight=vendor"
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  services.xserver.deviceSection = lib.mkDefault ''
 | 
			
		||||
    Option "TearFree" "true"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user