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 FistantoandJörg Thalheim authored and Jörg Thalheim committed 2025-06-06 09:13:21 +02:00
1 parent 11f2d9ea49
commit 293b5e472b
6 files changed
+42 -19

No files matched your search

+12 -17
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";
};
}
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../shared.nix
];
}
+12
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";
};
}
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
../../../common/cpu/intel/meteor-lake
../../../common/pc/laptop
];
}