2024-05-26 10:04:14 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
../../common/cpu/intel
|
2024-06-29 02:23:23 +02:00
|
|
|
../../common/gpu/intel/comet-lake
|
2024-05-26 10:04:14 +02:00
|
|
|
../../common/gpu/nvidia
|
|
|
|
../../common/gpu/nvidia/prime.nix
|
|
|
|
../../common/hidpi.nix
|
|
|
|
../../common/pc/laptop
|
|
|
|
../../common/pc/ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
hardware.nvidia = {
|
|
|
|
modesetting.enable = lib.mkDefault true;
|
|
|
|
open = lib.mkDefault false;
|
|
|
|
nvidiaSettings = lib.mkDefault true;
|
|
|
|
prime = {
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.power-profiles-daemon.enable = lib.mkDefault true;
|
|
|
|
}
|