Add Lenovo Legion 5 Pro Gen 6

This commit is contained in:
4JX
2022-11-23 20:36:56 +01:00
parent 0099253ad0
commit 56bb7c93b3
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ lib, config, ... }:
let kernelPackages = config.boot.kernelPackages;
in {
imports = [
../../../common/cpu/amd
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
services.thermald.enable = lib.mkDefault true;
}