mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-20 16:49:44 +01:00
apple/macbook-air/4: resolve tearing
This commit is contained in:
parent
f9a1ac6297
commit
2227f2c67a
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue