mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
Merge pull request #426 from ulrikstrid/ulrikstrid--16ITHg6
Add lenovo legion 7 16ITHg6
This commit is contained in:
commit
99e33a5714
2 changed files with 20 additions and 0 deletions
|
@ -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;
|
||||
|
|
19
lenovo/legion/16ithg6/default.nix
Normal file
19
lenovo/legion/16ithg6/default.nix
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue