nixos-hardware/lenovo/legion/15arh05h/default.nix

21 lines
390 B
Nix
Raw Permalink Normal View History

2022-12-31 10:52:38 +00:00
{ lib, ... }:
2022-03-06 19:43:55 +00:00
{
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia/prime.nix
2022-03-06 19:43:55 +00:00
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# Specify bus id of Nvidia and Intel graphics.
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
# Cooling management
services.thermald.enable = lib.mkDefault true;
}