mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Merge remote-tracking branch 'upstream/master' into nixfmt
This commit is contained in:
@@ -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
dell/precision/3490/intel/default.nix
Normal file
5
dell/precision/3490/intel/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
../shared.nix
|
||||
];
|
||||
}
|
||||
11
dell/precision/3490/nvidia/default.nix
Normal file
11
dell/precision/3490/nvidia/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
imports = [
|
||||
../shared.nix
|
||||
../../../../common/gpu/nvidia/ada-lovelace
|
||||
];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
}
|
||||
6
dell/precision/3490/shared.nix
Normal file
6
dell/precision/3490/shared.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
../../../common/cpu/intel/meteor-lake
|
||||
../../../common/pc/laptop
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user