diff --git a/lenovo/thinkpad/x230/default.nix b/lenovo/thinkpad/x230/default.nix new file mode 100644 index 0000000..daeda9e --- /dev/null +++ b/lenovo/thinkpad/x230/default.nix @@ -0,0 +1,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 + ]; +}