Skip to content

Commit 4fe34e8

Browse files
committed
dell-precision-3490: init module
1 parent 9a049b4 commit 4fe34e8

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

common/cpu/intel/meteor-lake.nix

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
imports = [
3+
./cpu-only.nix
4+
../../gpu/intel/meteor-lake.nix
5+
];
6+
}

common/gpu/intel/meteor-lake.nix

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
imports = [ ../. ];
3+
4+
hardware.intelgpu.vaapiDriver = "intel-media-driver";
5+
}

dell/precision/3490.nix

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
imports = [
3+
../../common/cpu/intel/meteor-lake.nix
4+
../../common/gpu/nvidia/ada-lovelace
5+
../../common/pc/laptop
6+
];
7+
8+
boot.initrd.availableKernelModules = [
9+
"nvme"
10+
"sd_mod"
11+
"thunderbolt"
12+
"usb_storage"
13+
"vmd"
14+
"xhci_pci"
15+
];
16+
17+
hardware.nvidia.prime = {
18+
intelBusId = "PCI:0:2:0";
19+
nvidiaBusId = "PCI:1:0:0";
20+
};
21+
}

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
dell-latitude-e7240 = import ./dell/latitude/e7240;
8181
dell-optiplex-3050 = import ./dell/optiplex/3050;
8282
dell-poweredge-r7515 = import ./dell/poweredge/r7515;
83+
dell-precision-3490 = import ./dell/precision/3490.nix;
8384
dell-precision-3541 = import ./dell/precision/3541;
8485
dell-precision-5490 = import ./dell/precision/5490;
8586
dell-precision-5530 = import ./dell/precision/5530;

0 commit comments

Comments
 (0)