add lenovo ideapad 5 15arh05

This commit is contained in:
Guekka
2022-09-12 13:50:33 +02:00
committed by GitHub
parent 1fec8fda86
commit 1f9058d65d
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;
}