feat(canopus): add vfio kernel modules

This commit is contained in:
tux
2025-12-25 16:52:40 +05:30
parent bb1dce3b3a
commit 61f4af216e

View File

@@ -103,7 +103,14 @@
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
supportedFilesystems = ["ntfs"]; supportedFilesystems = ["ntfs"];
initrd.systemd = { initrd = {
kernelModules = [
"vfio_pci"
"vfio"
"vfio_iommu_type1"
];
systemd = {
enable = lib.mkForce true; enable = lib.mkForce true;
services.wipe-my-fs = { services.wipe-my-fs = {
@@ -139,6 +146,7 @@
''; '';
}; };
}; };
};
loader = { loader = {
systemd-boot = { systemd-boot = {