diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-25 01:24:54 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-25 01:27:28 +0000 |
commit | db483616db2f283fd422b02520b1ba2a0cedba88 (patch) | |
tree | d198e88031d7571dc85bcb34ff124035c536c5ea /apple | |
parent | aa70bfe955c6d08ca6dacadb46a7063c9ef38de1 (diff) |
apple/macbook-air/6: init
Diffstat (limited to 'apple')
-rw-r--r-- | apple/macbook-air/6/default.nix | 14 | ||||
-rw-r--r-- | apple/macbook-air/default.nix | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/apple/macbook-air/6/default.nix b/apple/macbook-air/6/default.nix new file mode 100644 index 0000000..9588b30 --- /dev/null +++ b/apple/macbook-air/6/default.nix @@ -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" + ''; +} diff --git a/apple/macbook-air/default.nix b/apple/macbook-air/default.nix new file mode 100644 index 0000000..ea15175 --- /dev/null +++ b/apple/macbook-air/default.nix @@ -0,0 +1,8 @@ +{ + imports = [ + ../. + ../../common/cpu/intel + ../../common/pc/laptop + ../../common/pc/laptop/ssd + ]; +} |