diff options
author | nin <nineinchnade@gmail.com> | 2017-03-07 16:27:15 +0100 |
---|---|---|
committer | nin <nineinchnade@gmail.com> | 2017-03-07 16:27:15 +0100 |
commit | 2edd8ca37b5c134b697315fd7ab603807760e6d6 (patch) | |
tree | 4fa4df81774907b797d04707028406788d7297e1 /makefu/2configs/hw/tp-x230.nix | |
parent | 01868340e25ffb05ea8b784c5cdf47c251157dfb (diff) | |
parent | c05db2409061f721ba454f4bf79e635ee13a6f11 (diff) |
Merge remote-tracking branch 'prism/newest'
Diffstat (limited to 'makefu/2configs/hw/tp-x230.nix')
-rw-r--r-- | makefu/2configs/hw/tp-x230.nix | 12 |
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 |