mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-24 10:39:44 +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;
|
|
}
|