2d54ea30cf
This does not compile against 6.x Kernel. This is also no longer necessary for 6.x Kernel. One can use "acpi_video0" device instead of "mba6x_backlight" device.
15 lines
230 B
Nix
15 lines
230 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
imports = [ ../. ];
|
|
|
|
boot = {
|
|
# Divides power consumption by two.
|
|
kernelParams = [ "acpi_osi=" ];
|
|
};
|
|
|
|
services.xserver.deviceSection = lib.mkDefault ''
|
|
Option "TearFree" "true"
|
|
'';
|
|
}
|