From f6f318b52a189f9e510f5bc85fe52656260c6e39 Mon Sep 17 00:00:00 2001 From: CalebJohn Date: Tue, 13 Sep 2022 16:27:39 -0700 Subject: [PATCH 1/2] Add thinkpad t14 amd gen3 --- README.md | 1 + lenovo/thinkpad/t14/amd/gen3/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lenovo/thinkpad/t14/amd/gen3/default.nix diff --git a/README.md b/README.md index 2561c80..af3914f 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,7 @@ See code for all available configurations. | [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `` | | [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `` | | [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `` | +| [Lenovo ThinkPad T14 AMD Gen 3](lenovo/thinkpad/t14/amd/gen3) | `` | | [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `` | | [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `` | | [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `` | diff --git a/lenovo/thinkpad/t14/amd/gen3/default.nix b/lenovo/thinkpad/t14/amd/gen3/default.nix new file mode 100644 index 0000000..5657898 --- /dev/null +++ b/lenovo/thinkpad/t14/amd/gen3/default.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ]; + + # For the Qualcomm NFA-725A (Device 1103) wireless network controller + # See https://bugzilla.redhat.com/show_bug.cgi?id=2047878 + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest; +} From 7aac946a06f2f9c8846260fa036a64d2d1f26eb0 Mon Sep 17 00:00:00 2001 From: CalebJohn Date: Wed, 14 Sep 2022 11:47:23 -0700 Subject: [PATCH 2/2] Add thinkpad t14 amd gen3 to flake --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index defec0e..1924888 100644 --- a/flake.nix +++ b/flake.nix @@ -74,6 +74,7 @@ lenovo-thinkpad-t14 = import ./lenovo/thinkpad/t14; lenovo-thinkpad-t14-amd-gen1 = import ./lenovo/thinkpad/t14/amd/gen1; lenovo-thinkpad-t14-amd-gen2 = import ./lenovo/thinkpad/t14/amd/gen2; + lenovo-thinkpad-t14-amd-gen3 = import ./lenovo/thinkpad/t14/amd/gen3; lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s; lenovo-thinkpad-t14s-amd-gen1 = import ./lenovo/thinkpad/t14s/amd/gen1; lenovo-thinkpad-t410 = import ./lenovo/thinkpad/t410;