apple/macbook-air/4: resolve tearing

This commit is contained in:
Yegor Timoshenko 2017-12-25 04:49:53 +00:00
parent f9a1ac6297
commit 2227f2c67a
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210

View file

@ -1,7 +1,13 @@
{ lib, ... }:
{ {
imports = [ ../. ]; imports = [ ../. ];
boot.kernelParams = [ boot.kernelParams = [
"acpi_backlight=vendor" "acpi_backlight=vendor"
]; ];
services.xserver.deviceSection = lib.mkDefault ''
Option "TearFree" "true"
'';
} }