mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-16 16:09:40 +01:00
d977cf26de
There are several significant differences between ThinkPads and the other Lenovo models, so this structure must be more precise
22 lines
410 B
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;
|
|
}
|