mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 01:07:14 +08:00
Add configuration for Lenovo IdeaPad Gaming 3 15ach6
This commit is contained in:
committed by
mergify[bot]
parent
405b654893
commit
b501c5fbf6
25
lenovo/ideapad/15ach6/README.md
Normal file
25
lenovo/ideapad/15ach6/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Lenovo IdeaPad Gaming 3 15ACH6
|
||||
|
||||
This device supports "battery conservation mode", which charges the battery to only ~60%. This mode can be enabled using [TLP](https://linrunner.de/tlp/settings/bc-vendors.html#lenovo-non-thinkpad-series):
|
||||
|
||||
## Device information
|
||||
|
||||
Details from `tlp-stat`:
|
||||
|
||||
```
|
||||
System = LENOVO IdeaPad Gaming 3 15ACH6 82K2
|
||||
BIOS = H3CN31WW(V2.01)
|
||||
EC Firmware = 1.31
|
||||
OS Release = NixOS 24.11 (Vicuna)
|
||||
Kernel = 6.6.37 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jul 5 07:34:07 UTC 2024 x86_64
|
||||
Init system = systemd
|
||||
Boot mode = UEFI
|
||||
Suspend mode = s2idle [deep]
|
||||
```
|
||||
|
||||
`lspci` output:
|
||||
|
||||
```
|
||||
01:00.0 3D controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
|
||||
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
|
||||
```
|
||||
20
lenovo/ideapad/15ach6/default.nix
Normal file
20
lenovo/ideapad/15ach6/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../common/cpu/amd
|
||||
../../../common/cpu/amd/pstate.nix
|
||||
../../../common/gpu/amd
|
||||
../../../common/gpu/nvidia/prime.nix
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/laptop/ssd
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:6:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user