2024-05-19 21:55:37 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../../common/cpu/intel
|
|
|
|
../../common/gpu/nvidia
|
|
|
|
../../common/gpu/nvidia/prime.nix
|
|
|
|
../../common/pc/laptop
|
|
|
|
../../common/pc/ssd
|
|
|
|
../battery.nix
|
2024-05-20 10:15:58 +00:00
|
|
|
];
|
2024-05-19 21:55:37 +00:00
|
|
|
|
|
|
|
hardware.nvidia =
|
|
|
|
{
|
|
|
|
modesetting.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
prime =
|
|
|
|
{
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|