2017-12-24 20:24:54 -05:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../. ];
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
|
|
|
|
kernelModules = [ "mba6x_bl" ];
|
2017-12-27 17:09:57 -05:00
|
|
|
|
|
|
|
# Divides power consumption by two.
|
|
|
|
kernelParams = [ "acpi_osi=" ];
|
2017-12-24 20:24:54 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver.deviceSection = lib.mkDefault ''
|
|
|
|
Option "Backlight" "mba6x_backlight"
|
2018-01-07 12:26:37 -05:00
|
|
|
Option "TearFree" "true"
|
2017-12-24 20:24:54 -05:00
|
|
|
'';
|
|
|
|
}
|