pci passthrough
This commit is contained in:
@@ -19,8 +19,8 @@ in { pkgs, lib, config, ... }: {
|
|||||||
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"intel_iommu=on"
|
"intel_iommu=on"
|
||||||
] ++
|
|
||||||
# isolate the GPU
|
|
||||||
("vfio-pci.ids=" + lib.concatStringsSep "," gpuIDs);
|
("vfio-pci.ids=" + lib.concatStringsSep "," gpuIDs);
|
||||||
|
]
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user