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

{
  boot.initrd.availableKernelModules = [
    "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";
}