diff --git a/README.md b/README.md index 422d711..2dab83c 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,7 @@ See code for all available configurations. | [Lenovo ThinkPad X1 (6th Gen)][] | `` | | [Lenovo ThinkPad X1 (7th Gen)][] | `` | | Lenovo ThinkPad X1 Extreme Gen 2 | `` | +| [Lenovo ThinkPad X13][] | `` | | [Microsoft Surface Pro 3][] | `` | | [MSI GS60 2QE][] | `` | @@ -166,6 +167,7 @@ See code for all available configurations. [Inverse Path USB armory]: inversepath/usbarmory [Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen [Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen +[Lenovo ThinkPad X13]: lenovo/thinkpad/x13 [Lenovo ThinkPad X13 Yoga]: lenovo/thinkpad/x13-yoga [Lenovo ThinkPad X260]: lenovo/thinkpad/x260 [Microsoft Surface Pro 3]: microsoft/surface-pro/3 diff --git a/flake.nix b/flake.nix index 7613339..570f0d2 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,7 @@ lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen; lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme; lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2; + lenovo-thinkpad-x13 = import ./lenovo/thinkpad/x13; lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13-yoga; microsoft-surface = import ./microsoft/surface; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; diff --git a/lenovo/thinkpad/x13/default.nix b/lenovo/thinkpad/x13/default.nix new file mode 100644 index 0000000..b9eeba7 --- /dev/null +++ b/lenovo/thinkpad/x13/default.nix @@ -0,0 +1,12 @@ +{ config, lib, ... }: { + # Reference to hardware: https://certification.ubuntu.com/hardware/202004-27844 + imports = [ + ../. + ../../../common/cpu/intel + ../../../common/pc/laptop/acpi_call.nix + ../../../common/pc/laptop/ssd + ]; + + # Somehow psmouse does not load automatically on boot for me + boot.kernelModules = [ "psmouse" ]; +}