2024-03-18 16:50:42 -04:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../common/cpu/amd
|
|
|
|
../../common/cpu/amd/raphael/igpu.nix
|
|
|
|
../../common/cpu/amd/pstate.nix
|
|
|
|
../../common/gpu/nvidia
|
|
|
|
../../common/gpu/nvidia/prime-sync.nix
|
|
|
|
../../common/hidpi.nix
|
|
|
|
../../common/pc/laptop
|
|
|
|
../../common/pc/ssd
|
|
|
|
];
|
|
|
|
|
2024-04-30 03:59:34 -04:00
|
|
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.6") pkgs.linuxPackages_latest;
|
2024-03-18 16:50:42 -04:00
|
|
|
|
|
|
|
hardware.nvidia.prime = {
|
|
|
|
amdgpuBusId = "PCI:54:0:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
}
|