From 7b063efe673a47fb230beab1383575ef8a023e97 Mon Sep 17 00:00:00 2001 From: Daniel Reimer Date: Sat, 5 Nov 2022 22:13:53 -0700 Subject: [PATCH] add lenovo/thinkpad/x1/10th-gen --- README.md | 1 + flake.nix | 1 + lenovo/thinkpad/x1/10th-gen/default.nix | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 lenovo/thinkpad/x1/10th-gen/default.nix diff --git a/README.md b/README.md index bd28364..0c81589 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,7 @@ See code for all available configurations. | [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `` | | [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `` | | [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `` | +| [Lenovo ThinkPad X1 (10th Gen)](lenovo/thinkpad/x1/10th-gen) | `` | | [Lenovo ThinkPad X1 Extreme Gen 2](lenovo/thinkpad/x1-extreme/gen2) | `` | | [Lenovo ThinkPad X1 Extreme Gen 4](lenovo/thinkpad/x1-extreme/gen4) | `` | | [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `` | diff --git a/flake.nix b/flake.nix index 4532619..2391384 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,7 @@ lenovo-thinkpad-x1-6th-gen = import ./lenovo/thinkpad/x1/6th-gen; lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen; lenovo-thinkpad-x1-9th-gen = import ./lenovo/thinkpad/x1/9th-gen; + lenovo-thinkpad-x1-10th-gen = import ./lenovo/thinkpad/x1/10th-gen; lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme; lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2; lenovo-thinkpad-x1-extreme-gen4 = import ./lenovo/thinkpad/x1-extreme/gen4; diff --git a/lenovo/thinkpad/x1/10th-gen/default.nix b/lenovo/thinkpad/x1/10th-gen/default.nix new file mode 100644 index 0000000..c06e839 --- /dev/null +++ b/lenovo/thinkpad/x1/10th-gen/default.nix @@ -0,0 +1,10 @@ +{ lib, pkgs, ... }: +{ + imports = [ + ../. + ../../../../common/pc/laptop/ssd + ]; + + # Use the right Intel graphics driver + boot.kernelParams = [ "i915.force_probe=46a6" ]; +}