mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
added lenovo thinkpad p43s
This commit is contained in:
parent
be7794e5a6
commit
a3f63440fc
2 changed files with 23 additions and 0 deletions
22
lenovo/thinkpad/p43s/default.nix
Normal file
22
lenovo/thinkpad/p43s/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, config, ... }: {
|
||||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/gpu/nvidia/pascal
|
||||
../../../common/gpu/nvidia/prime-sync.nix
|
||||
];
|
||||
|
||||
hardware = {
|
||||
graphics.enable = lib.mkDefault true;
|
||||
|
||||
nvidia = {
|
||||
prime = {
|
||||
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||
nvidiaBusId = lib.mkDefault "PCI:60:0:0";
|
||||
};
|
||||
|
||||
powerManagement.enable = lib.mkDefault config.hardware.nvidia.prime.sync.enable;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue