From 51ec9ab517ed69dfefd330ffd3973b485e24e3b0 Mon Sep 17 00:00:00 2001 From: Pavel Atanasov Date: Thu, 9 Feb 2023 20:17:37 +0200 Subject: [PATCH 1/2] lenovo/thinkpad/t520: create Borrow `t420`'s config since the machines only mainly differ in screen size --- lenovo/thinkpad/t520/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lenovo/thinkpad/t520/default.nix diff --git a/lenovo/thinkpad/t520/default.nix b/lenovo/thinkpad/t520/default.nix new file mode 100644 index 0000000..a3c7db4 --- /dev/null +++ b/lenovo/thinkpad/t520/default.nix @@ -0,0 +1,8 @@ +{ + imports = [ + ../. + ../tp-smapi.nix + ../../../common/cpu/intel/sandy-bridge + ../../../common/pc/laptop/acpi_call.nix + ]; +} From 6f1da80bd034c550220ec9777bc52af9f5af762d Mon Sep 17 00:00:00 2001 From: reo101 Date: Mon, 20 Feb 2023 18:04:27 +0200 Subject: [PATCH 2/2] lenovo/thinkpad/t520: reference in `README.md` and `flake.nix` --- README.md | 1 + flake.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index e15c7a7..42d16a9 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ See code for all available configurations. | [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `` | | [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `` | | [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `` | +| [Lenovo ThinkPad T520](lenovo/thinkpad/t520) | `` | | [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `` | | [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `` | | [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `` | diff --git a/flake.nix b/flake.nix index 6a74cdf..d2ad3ea 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,7 @@ lenovo-thinkpad-t480s = import ./lenovo/thinkpad/t480s; lenovo-thinkpad-t490 = import ./lenovo/thinkpad/t490; lenovo-thinkpad-t495 = import ./lenovo/thinkpad/t495; + lenovo-thinkpad-t520 = import ./lenovo/thinkpad/t520; lenovo-thinkpad-t550 = import ./lenovo/thinkpad/t550; lenovo-thinkpad-t590 = import ./lenovo/thinkpad/t590; lenovo-thinkpad-x1 = import ./lenovo/thinkpad/x1;