mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 10:58:37 +08:00
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:
22
lenovo/thinkpad/x140e.nix
Normal file
22
lenovo/thinkpad/x140e.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user