Add Lenovo x140e laptop. (#17)

This commit is contained in:
Stephen Whitmore 2016-08-05 02:48:33 -07:00 committed by Emery Hemingway
parent 5b3c112a91
commit bc241aeec7

26
lenovo/x140e.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
{
boot = {
# wireless
kernelModules = [ "kvm-amd" "wl" ];
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
# audio device
extraModprobeConfig = ''
options snd_hda_intel enable=0,1
'';
};
# video card
services.xserver.videoDrivers = ["ati"];
# trackpad (touchpad disabled)
hardware.trackpoint = {
enable = true;
emulateWheel = true;
};
# media keys
sound.enableMediaKeys = true;
}