From 405b654893aba16c8014de6a17e84439d3fb8e46 Mon Sep 17 00:00:00 2001 From: mexisme Date: Tue, 23 Jul 2024 22:11:15 +1200 Subject: [PATCH] Add Lenovo Thinkpad T14 Gen5 - Which is basically the same as Gen4 ... --- flake.nix | 1 + lenovo/thinkpad/t14/amd/gen5/default.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 lenovo/thinkpad/t14/amd/gen5/default.nix diff --git a/flake.nix b/flake.nix index 5eddd5a..e2ec5ed 100644 --- a/flake.nix +++ b/flake.nix @@ -157,6 +157,7 @@ lenovo-thinkpad-t14-amd-gen2 = import ./lenovo/thinkpad/t14/amd/gen2; lenovo-thinkpad-t14-amd-gen3 = import ./lenovo/thinkpad/t14/amd/gen3; lenovo-thinkpad-t14-amd-gen4 = import ./lenovo/thinkpad/t14/amd/gen4; + lenovo-thinkpad-t14-amd-gen5 = import ./lenovo/thinkpad/t14/amd/gen5; lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s; lenovo-thinkpad-t14s-amd-gen1 = import ./lenovo/thinkpad/t14s/amd/gen1; lenovo-thinkpad-t14s-amd-gen4 = import ./lenovo/thinkpad/t14s/amd/gen4; diff --git a/lenovo/thinkpad/t14/amd/gen5/default.nix b/lenovo/thinkpad/t14/amd/gen5/default.nix new file mode 100644 index 0000000..e61a3a0 --- /dev/null +++ b/lenovo/thinkpad/t14/amd/gen5/default.nix @@ -0,0 +1,12 @@ +{ lib, pkgs, config, ... }: + +{ + imports = [ + ../. + ../../../../../common/cpu/amd/pstate.nix + ]; + + # For the Qualcomm NFA765 [17cb: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; +}