diff options
author | tv <tv@krebsco.de> | 2017-03-05 17:01:57 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-03-05 17:01:57 +0100 |
commit | 23a79b8fb02b3bebfb377f2b236432ff9a73343a (patch) | |
tree | 494bcb3bb57b397bab756aebe86e85dbd5a2a2fd /makefu/2configs/hw/tp-x230.nix | |
parent | fd6c056a720544319f02cf02b64fa8dd2b657aa8 (diff) | |
parent | cb48e9371a337d23e1f3f09b5d024ee60451d9d2 (diff) |
Merge remote-tracking branch 'gum/master'
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 |