Skip to content

Commit 68babad

Browse files
authored
Merge pull request #253 from NixOS/thinkpad-x13
add lenovo-thinkpad-x13
2 parents f7540d6 + da67c36 commit 68babad

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ See code for all available configurations.
131131
| [Lenovo ThinkPad X1 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` |
132132
| [Lenovo ThinkPad X1 (7th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` |
133133
| Lenovo ThinkPad X1 Extreme Gen 2 | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
134+
| [Lenovo ThinkPad X13][] | `<nixos-hardware/lenovo/thinkpad/x13` |
134135
| [Microsoft Surface Range][] | `<nixos-hardware/microsoft/surface>` |
135136
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` |
136137
| [MSI GS60 2QE][] | `<nixos-hardware/msi/gs60>` |
@@ -166,6 +167,7 @@ See code for all available configurations.
166167
[Inverse Path USB armory]: inversepath/usbarmory
167168
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
168169
[Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen
170+
[Lenovo ThinkPad X13]: lenovo/thinkpad/x13
169171
[Lenovo ThinkPad X13 Yoga]: lenovo/thinkpad/x13-yoga
170172
[Lenovo ThinkPad X260]: lenovo/thinkpad/x260
171173
[Microsoft Surface Pro 3]: microsoft/surface-pro/3

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen;
6868
lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme;
6969
lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2;
70+
lenovo-thinkpad-x13 = import ./lenovo/thinkpad/x13;
7071
lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13-yoga;
7172
microsoft-surface = import ./microsoft/surface;
7273
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;

lenovo/thinkpad/x13/default.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ config, lib, ... }: {
2+
# Reference to hardware: https://certification.ubuntu.com/hardware/202004-27844
3+
imports = [
4+
../.
5+
../../../common/cpu/intel
6+
../../../common/pc/laptop/acpi_call.nix
7+
../../../common/pc/laptop/ssd
8+
];
9+
10+
# Somehow psmouse does not load automatically on boot for me
11+
boot.kernelModules = [ "psmouse" ];
12+
}

0 commit comments

Comments
 (0)