From 6e7667c75d01801f1206f5338c4d5b978f92c027 Mon Sep 17 00:00:00 2001 From: Robin Wils Date: Sun, 19 May 2024 19:19:36 +0200 Subject: [PATCH] Add hardware config for lenovo t5 26amr5 (#938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- README.md | 1 + flake.nix | 1 + lenovo/legion/t526amr5/README.md | 0 lenovo/legion/t526amr5/default.nix | 12 ++++++++++++ 4 files changed, 14 insertions(+) create mode 100644 lenovo/legion/t526amr5/README.md create mode 100644 lenovo/legion/t526amr5/default.nix diff --git a/README.md b/README.md index fe92f58..6c8bfb2 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,7 @@ See code for all available configurations. | [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `` | | [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `` | | [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `` | +| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `` | | [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `` | | [Lenovo ThinkPad A475](lenovo/thinkpad/a475) | `` | | [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `` | diff --git a/flake.nix b/flake.nix index 61f8b1e..09aefdc 100644 --- a/flake.nix +++ b/flake.nix @@ -112,6 +112,7 @@ lenovo-legion-16arha7 = import ./lenovo/legion/16arha7; lenovo-legion-16ithg6 = import ./lenovo/legion/16ithg6; lenovo-legion-16irx8h = import ./lenovo/legion/16irx8h; + lenovo-legion-t526amr5 = import ./lenovo/legion/t526amr5; lenovo-legion-y530-15ich = import ./lenovo/legion/15ich; lenovo-thinkpad = import ./lenovo/thinkpad; lenovo-thinkpad-a475 = import ./lenovo/thinkpad/a475; diff --git a/lenovo/legion/t526amr5/README.md b/lenovo/legion/t526amr5/README.md new file mode 100644 index 0000000..e69de29 diff --git a/lenovo/legion/t526amr5/default.nix b/lenovo/legion/t526amr5/default.nix new file mode 100644 index 0000000..ba1d623 --- /dev/null +++ b/lenovo/legion/t526amr5/default.nix @@ -0,0 +1,12 @@ +{ lib, ... }: + +{ + imports = [ + ../../../common/cpu/amd + ../../../common/gpu/nvidia + ../../../common/pc/ssd + ]; + + # TPM2 module + security.tpm2.enable = true; +}