Merge pull request #426 from ulrikstrid/ulrikstrid--16ITHg6

Add lenovo legion 7 16ITHg6
This commit is contained in:
Thiago Kenji Okada 2022-06-26 11:57:44 +01:00 committed by GitHub
commit 99e33a5714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -52,6 +52,7 @@
lenovo-ideapad-z510 = import ./lenovo/ideapad/z510;
lenovo-legion-15ach6 = import ./lenovo/legion/15ach6;
lenovo-legion-15arh05h = import ./lenovo/legion/15arh05h;
lenovo-legion-16ithg6 = import ./lenovo/legion/16ithg6;
lenovo-thinkpad = import ./lenovo/thinkpad;
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd;
lenovo-thinkpad-e14-intel = import ./lenovo/thinkpad/e14/intel;

View file

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