summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/tp-x230.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
committerlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
commit8061bed274adf680aa4cd68c5ca052fdf7743f55 (patch)
tree2edc06fa450aef2ea0e74943b13082e18d149154 /makefu/2configs/hw/tp-x230.nix
parente1045698d6e563ec9ad10cb1b0036252a34a010a (diff)
parentc04b08ab7e7967038e5ce9b494aafbbfc206d307 (diff)
Merge remote-tracking branch 'onondaga/master'
Diffstat (limited to 'makefu/2configs/hw/tp-x230.nix')
-rw-r--r--makefu/2configs/hw/tp-x230.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/makefu/2configs/hw/tp-x230.nix b/makefu/2configs/hw/tp-x230.nix
index 99563a771..2de32dd94 100644
--- a/makefu/2configs/hw/tp-x230.nix
+++ b/makefu/2configs/hw/tp-x230.nix
@@ -9,20 +9,28 @@ with import <stockholm/lib>;
kernelModules = [
"kvm-intel"
"thinkpad_ec"
- # "acpi_call"
+ "acpi_call"
# "thinkpad_acpi"
# "tpm-rng"
];
extraModulePackages = [
- # config.boot.kernelPackages.acpi_call
+ config.boot.kernelPackages.acpi_call
];
+ # support backlight adjustment
+ kernelParams = [ "acpi_osi=Linux" "acpi_backlight=vendor" ];
};
+
+ # configured media keys inside awesomerc
+ # sound.mediaKeys.enable = true;
+ hardware.bluetooth.enable = true;
+
services.acpid.enable = true;
hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
services.xserver = {
videoDriver = "intel";
deviceSection = ''
Option "AccelMethod" "sna"
+ Option "Backlight" "intel_backlight"
'';
};
# no entropy source working