mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 01:07:14 +08:00
feat: add Lenovo ThinkPad P16s Intel Gen 2
@moduon MT-9339
This commit is contained in:
committed by
Jairo Llopis
parent
72081c9fbb
commit
84eb0330ae
18
lenovo/thinkpad/p16s/intel/gen2/default.nix
Normal file
18
lenovo/thinkpad/p16s/intel/gen2/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{lib, ...}: {
|
||||
imports = [
|
||||
../.
|
||||
../../../../../common/cpu/intel/raptor-lake
|
||||
../../../../../common/gpu/intel/raptor-lake
|
||||
../../../../../common/gpu/nvidia/ampere
|
||||
../../../../../common/gpu/nvidia/prime.nix
|
||||
];
|
||||
|
||||
# DOCS https://wiki.nixos.org/wiki/NVIDIA#Offload_mode
|
||||
hardware.nvidia.prime = {
|
||||
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||
nvidiaBusId = lib.mkDefault "PCI:3:0:0";
|
||||
};
|
||||
|
||||
# HACK https://github.com/NVIDIA/open-gpu-kernel-modules/issues/472
|
||||
hardware.nvidia.open = lib.mkOverride 993 false;
|
||||
}
|
||||
Reference in New Issue
Block a user