The referenced lore.kernel.org thread refers to a T14 Gen 5 and
I am unable to reproduce the problem on my machine as measured
by amd-s2idle:
BIOS R2XET37W (1.17, 2025-11-07) EC firmware 1.9
config duration hw sleep wake interrupt
ec_no_wakeup=1 0:00:22 77.27% ACPI SCI
ec_no_wakeup=0 0:00:23 73.91% ACPI SCI
The original report shows a difference of 60 percentage points.
Adds hardware profile for Lenovo ThinkPad P14s Intel Gen 2 with:
- Intel Tiger Lake CPU support
- NVIDIA Turing GPU with PRIME configuration
- Suspend-to-RAM S3 sleep state configuration
The previous implementation was checking the kernel version through
`pkgs.linux`, which is only representative of the final system if
`boot.kernelPackages` is left as the default value of
`pkgs.linuxPackages`.
You can of course change this to other package sets, such as
`pkgs.linuxPackages_latest`. Instead, we now reference the kernel
through `config.boot.kernelPackages.kernel`.
This is my first upstream contribution (intend to contribute configs for
my NUC, GPD, and ClockworkPi uConsole/DevTerm). Essentially, this change
resolves#492, by adding the `common/{cpu,gpu}/amd` Nix fragments to the
`imports` list for the Thinkpad P14s.