From adcfd6aa860d1d129055039696bc457af7d50d0e Mon Sep 17 00:00:00 2001 From: Michael Stanley Date: Wed, 27 Sep 2023 21:16:18 -0400 Subject: [PATCH] Thinkpad X1 11th Gen: init --- README.md | 1 + flake.nix | 1 + lenovo/thinkpad/x1/11th-gen/default.nix | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 lenovo/thinkpad/x1/11th-gen/default.nix diff --git a/README.md b/README.md index 068b4b1..f735581 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,7 @@ See code for all available configurations. | [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 (11th Gen)](lenovo/thinkpad/x1/11th-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 X1 Nano Gen 1](lenovo/thinkpad/x1-nano/gen1) | `` | diff --git a/flake.nix b/flake.nix index c927104..3639427 100644 --- a/flake.nix +++ b/flake.nix @@ -132,6 +132,7 @@ 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-11th-gen = import ./lenovo/thinkpad/x1/11th-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/11th-gen/default.nix b/lenovo/thinkpad/x1/11th-gen/default.nix new file mode 100644 index 0000000..86c2992 --- /dev/null +++ b/lenovo/thinkpad/x1/11th-gen/default.nix @@ -0,0 +1,9 @@ +{ + imports = [ + ../. + ../../../../common/pc/laptop/ssd + ]; + + # Use the right Intel graphics driver + boot.kernelParams = [ "i915.force_probe=a7a1" ]; +}