mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
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:
@@ -4,15 +4,11 @@
|
||||
imports = [ ../. ];
|
||||
|
||||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
|
||||
kernelModules = [ "mba6x_bl" ];
|
||||
|
||||
# Divides power consumption by two.
|
||||
kernelParams = [ "acpi_osi=" ];
|
||||
};
|
||||
|
||||
services.xserver.deviceSection = lib.mkDefault ''
|
||||
Option "Backlight" "mba6x_backlight"
|
||||
Option "TearFree" "true"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user