File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 192192 lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5 ;
193193 lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1 ;
194194 lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2 ;
195+ lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s ;
195196 lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50 ;
196197 lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51 ;
197198 lenovo-thinkpad-p52 = import ./lenovo/thinkpad/p52 ;
Original file line number Diff line number Diff line change 1+ { lib , config , ... } : {
2+ imports = [
3+ ../.
4+ ../../../common/cpu/intel
5+ ../../../common/pc/laptop/ssd
6+ ../../../common/gpu/nvidia/pascal
7+ ../../../common/gpu/nvidia/prime-sync.nix
8+ ] ;
9+
10+ hardware = {
11+ graphics . enable = lib . mkDefault true ;
12+
13+ nvidia = {
14+ prime = {
15+ intelBusId = lib . mkDefault "PCI:0:2:0" ;
16+ nvidiaBusId = lib . mkDefault "PCI:60:0:0" ;
17+ } ;
18+
19+ powerManagement . enable = lib . mkDefault config . hardware . nvidia . prime . sync . enable ;
20+ } ;
21+ } ;
22+ }
You can’t perform that action at this time.
0 commit comments