summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Sagi-Kazar <mark.sagikazar@gmail.com>2022-01-10 17:05:58 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-01-11 21:28:24 +0000
commitf76af45dda1e9e864e4c7bc7f767928407be1338 (patch)
treed9cc3e552456b1f4d865cd3ae574e3ee4e0cb4e6
parentlinuxPackages.jool: 4.1.5 -> 4.1.6 (diff)
downloadnixpkgs-origin/backport-154307-to-release-21.11.tar.gz
nixos/vmware-guest: add mptspi kernel module to initrdorigin/backport-154307-to-release-21.11
Required by VMware Fusion See details in nix-community/nixos-generators#132 Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com> (cherry picked from commit 06771b90b2b8ff77d9e33561f9844b934010be09)
-rw-r--r--nixos/modules/virtualisation/vmware-guest.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/vmware-guest.nix b/nixos/modules/virtualisation/vmware-guest.nix
index 481dedf84054..3caed746ca91 100644
--- a/nixos/modules/virtualisation/vmware-guest.nix
+++ b/nixos/modules/virtualisation/vmware-guest.nix
@@ -27,6 +27,7 @@ in
message = "VMWare guest is not currently supported on ${pkgs.stdenv.hostPlatform.system}";
} ];
+ boot.initrd.availableKernelModules = [ "mptspi" ];
boot.initrd.kernelModules = [ "vmw_pvscsi" ];
environment.systemPackages = [ open-vm-tools ];