Add Lenovo x140e laptop. (#17)
This commit is contained in:
parent
5b3c112a91
commit
bc241aeec7
26
lenovo/x140e.nix
Normal file
26
lenovo/x140e.nix
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue