nixos-hardware/apple/macbook-air/6/default.nix
2017-12-27 22:09:57 +00:00

18 lines
352 B
Nix

{ config, lib, ... }:
{
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"
'';
}