1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

Merge pull request #460 from Guekka/ideapad-15arh05

add lenovo ideapad 5 15arh05
This commit is contained in:
Jörg Thalheim 2022-09-14 07:25:28 +02:00 committed by GitHub
commit c4cb6735ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View file

@ -118,6 +118,7 @@ See code for all available configurations.
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` |
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` |
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` |
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` |

View file

@ -52,6 +52,7 @@
gpd-micropc = import ./gpd/micropc;
hp-elitebook-2560p = import ./hp/elitebook/2560p;
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;
lenovo-ideapad-z510 = import ./lenovo/ideapad/z510;
lenovo-legion-15ach6 = import ./lenovo/legion/15ach6;
lenovo-legion-15arh05h = import ./lenovo/legion/15arh05h;

View file

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