summaryrefslogtreecommitdiff
path: root/hosts/bean/hardware.nix
blob: ac7fde8eebc0d1941fd1a3c0f0ff3358509807af (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
  ];

  this.bluetooth.enable = true;

  nixpkgs.hostPlatform = "x86_64-linux";
}