nixos-hardware/lenovo/thinkpad/x140e.nix
Maximilian Bosch d977cf26de
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
2017-09-03 23:34:57 +02:00

23 lines
410 B
Nix

{ 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;
}