From d3c993c851ad40bbab7e08d566138ff72cd8744f Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 24 Jul 2024 00:02:24 +0800 Subject: [PATCH] Lenovo ThinkPad X1 (12th Gen): init --- README.md | 1 + flake.nix | 1 + lenovo/thinkpad/x1/12th-gen/default.nix | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 lenovo/thinkpad/x1/12th-gen/default.nix diff --git a/README.md b/README.md index ea97ab6..5c1a6ab 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,7 @@ See code for all available configurations. | [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 (12th Gen)](lenovo/thinkpad/x1/12th-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 3754e48..0be7245 100644 --- a/flake.nix +++ b/flake.nix @@ -191,6 +191,7 @@ 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-12th-gen = import ./lenovo/thinkpad/x1/12th-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/12th-gen/default.nix b/lenovo/thinkpad/x1/12th-gen/default.nix new file mode 100644 index 0000000..7d17c71 --- /dev/null +++ b/lenovo/thinkpad/x1/12th-gen/default.nix @@ -0,0 +1,8 @@ +{ + imports = [ + ../. + ../../../../common/pc/laptop/ssd + ]; + + hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint"; +}