mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 10:28:51 +08:00
apple/macbook-air/4: resolve tearing
This commit is contained in:
@@ -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"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user