macbook-air-6: remove mba6x_bl kernel module
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.
This commit is contained in:
parent
2a807ad6e8
commit
2d54ea30cf
|
@ -4,15 +4,11 @@
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
|
|
||||||
kernelModules = [ "mba6x_bl" ];
|
|
||||||
|
|
||||||
# Divides power consumption by two.
|
# Divides power consumption by two.
|
||||||
kernelParams = [ "acpi_osi=" ];
|
kernelParams = [ "acpi_osi=" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.deviceSection = lib.mkDefault ''
|
services.xserver.deviceSection = lib.mkDefault ''
|
||||||
Option "Backlight" "mba6x_backlight"
|
|
||||||
Option "TearFree" "true"
|
Option "TearFree" "true"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue