Add configuration for Lenovo IdeaPad 5 Pro 16ACH6

This commit is contained in:
Arthur Rump
2024-01-13 21:04:53 +01:00
committed by mergify[bot]
parent 35f2177d66
commit 58b52b0dd1
4 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
hardware.nvidia = {
modesetting.enable = true;
prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}