From b771fe1afa411b8741b71a44d03f323ced4cbf73 Mon Sep 17 00:00:00 2001 From: Sandro Date: Fri, 4 Nov 2022 06:01:23 +0100 Subject: [PATCH] Add vmw_pvscsi kernel module (#115) This is required when infecting VMs based on VMware Paravirtual SCSI on VMware vSphere ESXi hosts --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index 454bac6..b63189c 100755 --- a/nixos-infect +++ b/nixos-infect @@ -60,7 +60,7 @@ EOF { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; $bootcfg - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "vmw_pvscsi" "xen_blkfront" ]; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "$rootfsdev"; fsType = "$rootfstype"; }; $swapcfg