summaryrefslogtreecommitdiffstats
path: root/lenovo/thinkpad/x230/default.nix
blob: daeda9e75607866dbba2fa69aa49815702af32c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ config, lib, pkgs, ... }:

with lib; {
  imports = [
    ../.
    ../../../common/cpu/intel
  ];

  boot = {
    kernelModules = [
      "acpi_call"
      "tpm-rng"
    ];
    extraModulePackages = with config.boot.kernelPackages; [
      acpi_call
    ];
  };

  hardware.opengl.extraPackages = with pkgs; [
    vaapiIntel
    vaapiVdpau
    libvdpau-va-gl
  ];
}