mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-18 17:09:41 +01:00
Add Lenovo x140e laptop. (#17)
This commit is contained in:
parent
5b3c112a91
commit
bc241aeec7
1 changed files with 26 additions and 0 deletions
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