mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Add lenovo legion 7 16ITHg6
This commit is contained in:
parent
f9d8dff4e6
commit
9ec5f52ea2
2 changed files with 20 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
||||||
lenovo-ideapad-z510 = import ./lenovo/ideapad/z510;
|
lenovo-ideapad-z510 = import ./lenovo/ideapad/z510;
|
||||||
lenovo-legion-15ach6 = import ./lenovo/legion/15ach6;
|
lenovo-legion-15ach6 = import ./lenovo/legion/15ach6;
|
||||||
lenovo-legion-15arh05h = import ./lenovo/legion/15arh05h;
|
lenovo-legion-15arh05h = import ./lenovo/legion/15arh05h;
|
||||||
|
lenovo-legion-16ithg6 = import ./lenovo/legion/16ithg6;
|
||||||
lenovo-thinkpad = import ./lenovo/thinkpad;
|
lenovo-thinkpad = import ./lenovo/thinkpad;
|
||||||
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd;
|
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd;
|
||||||
lenovo-thinkpad-e14-intel = import ./lenovo/thinkpad/e14/intel;
|
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