1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-01 16:49:40 +01:00
nixos-hardware/lenovo/ideapad/15ach6/default.nix
2024-09-04 11:15:55 -06:00

21 lines
422 B
Nix

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