1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-08 12:09:40 +01:00
nixos-hardware/lenovo/x140e.nix

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