File tree 4 files changed +46
-1
lines changed
4 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ See code for all available configurations.
207
207
| [ Lenovo Legion Slim 7 Gen 7 (AMD)] ( lenovo/legion/16arha7/ ) | ` <nixos-hardware/lenovo/legion/16arha7> ` |
208
208
| [ Lenovo Legion T5 AMR5] ( lenovo/legion/t526amr5 ) | ` <nixos-hardware/lenovo/legion/t526amr5> ` |
209
209
| [ Lenovo Legion Y530 15ICH] ( lenovo/legion/15ich ) | ` <nixos-hardware/lenovo/legion/15ich> ` |
210
+ | [ Lenovo LOQ 15APH8 (lenovo/loq/15aph8) | ` <nixos-hardware/lenovo/loq/15aph8> ` |
210
211
| [ Lenovo ThinkPad A475] ( lenovo/thinkpad/a475 ) | ` <nixos-hardware/lenovo/thinkpad/a475> ` |
211
212
| [ Lenovo ThinkPad E14 (AMD)] ( lenovo/thinkpad/e14/amd ) | ` <nixos-hardware/lenovo/thinkpad/e14/amd> ` |
212
213
| [ Lenovo ThinkPad E14 (Intel)] ( lenovo/thinkpad/e14/intel ) | ` <nixos-hardware/lenovo/thinkpad/e14/intel> ` |
@@ -335,7 +336,7 @@ See code for all available configurations.
335
336
| [ System76 (generic)] ( system76 ) | ` <nixos-hardware/system76> ` |
336
337
| [ System76 Darter Pro 6] ( system76/darp6 ) | ` <nixos-hardware/system76/darp6> ` |
337
338
| [ System76 Gazelle 18] ( system76/gaze18 ) | ` <nixos-hardware/system76/gaze18> ` |
338
- | [ System76 Galago Pro 5] ( system76/galp5-1650 ) | ` <nixos-hardware/system76/galp5-1650> ` |
339
+ | [ System76 Galago Pro 5] ( system76/galp5-1650 ) | ` <nixos-hardware/system76/galp5-1650> ` |
339
340
| [ Toshiba Chromebook 2 ` swanky ` ] ( toshiba/swanky ) | ` <nixos-hardware/toshiba/swanky> ` |
340
341
| [ Tuxedo InfinityBook v4] ( tuxedo/infinitybook/v4 ) | ` <nixos-hardware/tuxedo/infinitybook/v4> ` |
341
342
| [ TUXEDO Aura 15 - Gen1] ( tuxedo/aura/15/gen1 ) | ` <nixos-hardware/tuxedo/aura/15/gen1> ` |
Original file line number Diff line number Diff line change 148
148
lenovo-legion-16irx8h = import ./lenovo/legion/16irx8h ;
149
149
lenovo-legion-t526amr5 = import ./lenovo/legion/t526amr5 ;
150
150
lenovo-legion-y530-15ich = import ./lenovo/legion/15ich ;
151
+ lenovo-loq-15aph8 = import ./lenovo/loq/15aph8 ;
151
152
lenovo-thinkpad = import ./lenovo/thinkpad ;
152
153
lenovo-thinkpad-a475 = import ./lenovo/thinkpad/a475 ;
153
154
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd ;
Original file line number Diff line number Diff line change
1
+ # Lenovo LOQ 15APH8
2
+
3
+ Tested on LOQ 15APH8 (82XT) with:
4
+ - AMD Phoenix GPU
5
+ - NVIDIA GeForce RTX 4050 Max-Q
6
+ - AMD Phoenix1 integrated graphics
7
+
8
+ ## Features Requiring Configuration
9
+ For optimal power management, consider adding:
10
+
11
+ ``` nix
12
+ services.power-profiles-daemon.enable = true;
13
+ powerManagement.powertop.enable = true;
14
+ ```
15
+
Original file line number Diff line number Diff line change
1
+ { lib , ...} : {
2
+ imports = [
3
+ ../../../common/cpu/amd
4
+ ../../../common/gpu/nvidia/prime.nix
5
+ ../../../common/gpu/nvidia/ada-lovelace
6
+ ../../../common/pc/laptop
7
+ ../../../common/pc/laptop/ssd
8
+ ] ;
9
+
10
+ hardware . nvidia . prime = {
11
+ amdgpuBusId = lib . mkDefault "PCI:5:0:0" ;
12
+ nvidiaBusId = lib . mkDefault "PCI:1:0:0" ;
13
+ } ;
14
+
15
+ # Power management - using mkDefault as these can be overridden
16
+ hardware . nvidia . powerManagement . enable = lib . mkDefault true ;
17
+ hardware . nvidia . modesetting . enable = lib . mkDefault true ;
18
+ services . thermald . enable = lib . mkDefault true ;
19
+
20
+ # These will merge with user settings, so no mkDefault needed
21
+ boot . kernelModules = [ "kvm-amd" ] ;
22
+ boot . initrd . kernelModules = [ "amdgpu" ] ;
23
+
24
+ # Essential kernel parameters for AMD CPU
25
+ boot . kernelParams = [ "amd_pstate=active" ] ;
26
+ }
27
+
28
+
You can’t perform that action at this time.
0 commit comments