summaryrefslogtreecommitdiff
path: root/hosts/ades/hardware.nix
blob: 4698ae8ff148a4021d73065e5d8de8a9bcd7bddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs, ... }:

{
  boot.initrd.availableKernelModules = [];
  boot.initrd.kernelModules = [
    "iwlwifi"
  ];
  boot.kernelModules = [
    "kvm-intel"
  ];
  boot.extraModulePackages = [];

  hardware.graphics.extraPackages = [pkgs.intel-vaapi-driver];
  services.xserver.videoDrivers = ["intel"];

  hardware.firmware = with pkgs; [
    linux-firmware
  ];

  hardware.bluetooth.enable = true;

  nixpkgs.hostPlatform = "x86_64-linux";
}