1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 19:39:42 +01:00
nixos-hardware/apple/macbook-air/6/default.nix

19 lines
381 B
Nix
Raw Normal View History

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