mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 23:13:29 +01:00
lenovo/thinkpad/p16s: add Intel Gen 3 support
Tested on ThinkPad P16s Gen 3 (21KS0025US): - Intel Core Ultra 7 155H (Meteor Lake) - Intel Arc Graphics (iGPU) - NVIDIA RTX 500 Ada Generation (dGPU) - Goodix fingerprint reader (27c6:6594)
This commit is contained in:
1 parent
a351494b0e
commit
6403af95fb
2 files changed
+17
No files matched your search
@@ -265,6 +265,7 @@
|
|||||||
lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
|
lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
|
||||||
lenovo-thinkpad-p16s-amd-gen4 = import ./lenovo/thinkpad/p16s/amd/gen4;
|
lenovo-thinkpad-p16s-amd-gen4 = import ./lenovo/thinkpad/p16s/amd/gen4;
|
||||||
lenovo-thinkpad-p16s-intel-gen2 = import ./lenovo/thinkpad/p16s/intel/gen2;
|
lenovo-thinkpad-p16s-intel-gen2 = import ./lenovo/thinkpad/p16s/intel/gen2;
|
||||||
|
lenovo-thinkpad-p16s-intel-gen3 = import ./lenovo/thinkpad/p16s/intel/gen3;
|
||||||
lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
|
lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
|
||||||
lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
|
lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
|
||||||
lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
|
lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../../../common/cpu/intel/meteor-lake
|
||||||
|
../../../../../common/gpu/nvidia/ada-lovelace
|
||||||
|
../../../../../common/gpu/nvidia/prime.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# NVIDIA PRIME hybrid graphics
|
||||||
|
# Use `nvidia-offload <command>` to run on discrete GPU
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||||
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user