1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-20 08:39:45 +01: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:
Daniel Siepmann 2023-06-13 16:54:30 +02:00
parent 2a807ad6e8
commit 2d54ea30cf
No known key found for this signature in database
GPG key ID: 33D6629915560EF4

View file

@ -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"
'';
}