Add ThinkPad P1 Gen 5 base

Add support for P1 Gen 5 intel cpu architecture at `lenovo/thinkpad/p1/gen5`.
The `gen5/nvidia` opt-in GPU imports from there. Add p1-gen5 to flake
and README.
This commit is contained in:
Alex Kraker committed 2026-06-08 12:17:25 -05:00
1 parent f9fbbd15c3
commit d35f12f895
5 files changed
+10 -4

No files matched your search

-3
View File
@@ -1,9 +1,6 @@
{
imports = [
../../../common/cpu/intel
# might need nvidia module but we don't know the PCI ids:
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
#../../../common/gpu/nvidia/prime.nix
../../../common/pc/ssd
];
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
../.
../../../../common/cpu/intel/alder-lake # P1 Gen 5 is 12th-gen Alder Lake
];
}
+1 -1
View File
@@ -1,7 +1,7 @@
{ lib, ... }:
{
imports = [
../../.
../.
../../../../../common/gpu/nvidia/ampere
../../../../../common/gpu/nvidia/prime.nix
];