-
-
Notifications
You must be signed in to change notification settings - Fork 744
Add hardware support for Lenovo LOQ 15aph8 #1206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Lenovo LOQ 15APH8 | ||
|
||
Tested on LOQ 15APH8 (82XT) with: | ||
- AMD Phoenix GPU | ||
- NVIDIA GeForce RTX 4050 Max-Q | ||
- AMD Phoenix1 integrated graphics | ||
|
||
## Features Requiring Configuration | ||
For optimal power management, consider adding: | ||
|
||
```nix | ||
services.power-profiles-daemon.enable = true; | ||
powerManagement.powertop.enable = true; | ||
``` |
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,22 @@ | ||||
{ lib, ...}: { | ||||
imports = [ | ||||
../../../common/cpu/amd/pstate.nix | ||||
../../../common/gpu/nvidia/prime.nix | ||||
../../../common/gpu/nvidia/ada-lovelace | ||||
../../../common/pc/laptop | ||||
../../../common/pc/laptop/ssd | ||||
]; | ||||
|
||||
hardware.nvidia.prime = { | ||||
amdgpuBusId = lib.mkDefault "PCI:5:0:0"; | ||||
nvidiaBusId = lib.mkDefault "PCI:1:0:0"; | ||||
}; | ||||
|
||||
# Power management - using mkDefault as these can be overridden | ||||
hardware.nvidia.powerManagement.enable = lib.mkDefault true; | ||||
hardware.nvidia.modesetting.enable = lib.mkDefault true; | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IIUC the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
services.thermald.enable = lib.mkDefault true; | ||||
|
||||
# These will merge with user settings, so no mkDefault needed | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How does it merge with user settings? As far as I can see this requires 'lib.mkForce', no? |
||||
hardware.amdgpu.initrd.enable = true; | ||||
} |
Uh oh!
There was an error while loading. Please reload this page.