From adecd1113c2d4137ef23237f9af450736fd8d2cc Mon Sep 17 00:00:00 2001 From: ilian Date: Tue, 12 Nov 2019 10:36:10 +0000 Subject: [PATCH] apple: Add support for MacBook Air 3,X (#91) --- README.md | 1 + apple/macbook-air/3/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 apple/macbook-air/3/default.nix diff --git a/README.md b/README.md index f5b1268..d82ef1c 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ See code for all available configurations. | --------------------------------- | -------------------------------------------------- | | [Acer Aspire 4810T][] | `` | | Airis N990 | `` | +| Apple MacBook Air 3,X | `` | | Apple MacBook Air 4,X | `` | | Apple MacBook Air 6,X | `` | | [Apple MacBook Pro 10,1][] | `` | diff --git a/apple/macbook-air/3/default.nix b/apple/macbook-air/3/default.nix new file mode 100644 index 0000000..03221ed --- /dev/null +++ b/apple/macbook-air/3/default.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: + +{ + imports = [ + ../../. + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + # Built-in iSight is recognized by the generic uvcvideo kernel module + hardware.facetimehd.enable = false; + + hardware.cpu.intel.updateMicrocode = + lib.mkDefault config.hardware.enableRedistributableFirmware; +}