mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
19 lines
364 B
Nix
19 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" ];
|
|
}
|