summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lenovo/thinkpad/x230/default.nix24
1 files changed, 24 insertions, 0 deletions
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
+ ];
+}