dell-precision-3490: split into intel and nvidia configurations

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Pasha Fistanto
2025-05-28 20:19:16 +02:00
committed by Jörg Thalheim
parent 11f2d9ea49
commit 293b5e472b
6 changed files with 42 additions and 19 deletions

View File

@@ -1,21 +1,16 @@
{
warnings = [
''
DEPRECATED: The <nixos-hardware/dell/precision/3490> module has been deprecated.
Either use
<nixos-hardware/dell/precision/3490/nvidia>
for NVIDIA graphics or
<nixos-hardware/dell/precision/3490/intel>
for Intel graphics.
''
];
imports = [
../../../common/cpu/intel/meteor-lake
../../../common/gpu/nvidia/ada-lovelace
../../../common/pc/laptop
./nvidia/default.nix
];
boot.initrd.availableKernelModules = [
"nvme"
"sd_mod"
"thunderbolt"
"usb_storage"
"vmd"
"xhci_pci"
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View File

@@ -0,0 +1,5 @@
{
imports = [
../shared.nix
];
}

View File

@@ -0,0 +1,12 @@
{
imports = [
../shared.nix
../../../../common/gpu/nvidia/ada-lovelace
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View File

@@ -0,0 +1,6 @@
{
imports = [
../../../common/cpu/intel/meteor-lake
../../../common/pc/laptop
];
}