Segregate lenovo/ subdir into thinkpad and ideapad directories

There are several significant differences between ThinkPads and the
other Lenovo models, so this structure must be more precise
This commit is contained in:
Maximilian Bosch 2017-09-03 23:34:57 +02:00
parent ed46b99315
commit d977cf26de
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
8 changed files with 0 additions and 0 deletions

22
lenovo/thinkpad/x140e.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./general.nix ];
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"];
# media keys
sound.enableMediaKeys = true;
}