mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 03:56:09 +01:00
apple/macbook-air/6: init
This commit is contained in:
parent
aa70bfe955
commit
db483616db
2 changed files with 22 additions and 0 deletions
14
apple/macbook-air/6/default.nix
Normal file
14
apple/macbook-air/6/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
|
||||||
|
kernelModules = [ "mba6x_bl" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver.deviceSection = lib.mkDefault ''
|
||||||
|
Option "Backlight" "mba6x_backlight"
|
||||||
|
'';
|
||||||
|
}
|
||||||
8
apple/macbook-air/default.nix
Normal file
8
apple/macbook-air/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../common/cpu/intel
|
||||||
|
../../common/pc/laptop
|
||||||
|
../../common/pc/laptop/ssd
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue