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";