Merge pull request #460 from Guekka/ideapad-15arh05

add lenovo ideapad 5 15arh05
This commit is contained in:
Jörg Thalheim
2022-09-14 07:25:28 +02:00
committed by GitHub
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# Specify bus id of Nvidia and Intel graphics.
hardware.nvidia.prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
# Cooling management
services.thermald.enable = lib.mkDefault true;
}