summaryrefslogtreecommitdiffstats
path: root/apple
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-27 22:09:57 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-27 22:09:57 +0000
commitb65efccd54525139df7d6a551e921c5c1992a27f (patch)
tree34edf8873f4731a8e9ed15d082a7ff51b2d06dd1 /apple
parent19c0c04f614945bed1bca0e2eba8e7faaa6c7d0e (diff)
apple/macbook-air/6: add acpi_osi= kernel param
Diffstat (limited to 'apple')
-rw-r--r--apple/macbook-air/6/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/apple/macbook-air/6/default.nix b/apple/macbook-air/6/default.nix
index 9588b30..35fe832 100644
--- a/apple/macbook-air/6/default.nix
+++ b/apple/macbook-air/6/default.nix
@@ -6,6 +6,9 @@
boot = {
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
kernelModules = [ "mba6x_bl" ];
+
+ # Divides power consumption by two.
+ kernelParams = [ "acpi_osi=" ];
};
services.xserver.deviceSection = lib.mkDefault ''