mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Add lenovo legion 7 16ITHg6
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user