From 70a5e48af2293f1d82e42a3c4e1d466231782854 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Tue, 10 Jun 2025 22:48:48 +0300 Subject: [PATCH] updated Quark vfio --- hosts/Quark/Quark-hardware.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/Quark/Quark-hardware.nix b/hosts/Quark/Quark-hardware.nix index dfa0fc7..f8863ad 100644 --- a/hosts/Quark/Quark-hardware.nix +++ b/hosts/Quark/Quark-hardware.nix @@ -9,8 +9,15 @@ ]; boot.initrd.supportedFilesystems = [ "nfs" "nfsv4" "overlay" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "nfs" "nfsv4" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.initrd.kernelModules = [ + "vfio_pci" + "vfio" + "vfio_iommu_type1" + "vfio_virqfd" + ]; + boot.kernelModules = [ + "kvm-intel" + ]; boot.extraModulePackages = [ ]; swapDevices = [ ]; boot.extraModprobeConfig = "options kvm_intel nested=1";