From 2d54ea30cfea085b64db92e6bf8848b73c1fac78 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 13 Jun 2023 16:54:30 +0200 Subject: [PATCH] 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. --- apple/macbook-air/6/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apple/macbook-air/6/default.nix b/apple/macbook-air/6/default.nix index 555d704..c892026 100644 --- a/apple/macbook-air/6/default.nix +++ b/apple/macbook-air/6/default.nix @@ -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" ''; }