nixos-hardware/lenovo/thinkpad/x140e.nix
2017-12-22 02:56:28 +00:00

20 lines
364 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" ];
}