mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +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…
Add table
Add a link
Reference in a new issue