vmware: add mptspi module

This commit is contained in:
Sean Buckley 2021-07-13 10:55:27 -04:00
parent 474b9d3c15
commit 417ec056ae

View file

@ -8,7 +8,10 @@ let
hardwareModules = hardwareModules =
{ {
physical = (x: { imports = [ "${x.modulesPath}/installer/scan/not-detected.nix" ]; }); physical = (x: { imports = [ "${x.modulesPath}/installer/scan/not-detected.nix" ]; });
vmware = (x: { virtualisation.vmware.guest.enable = true; }); vmware = (x: {
virtualisation.vmware.guest.enable = true;
boot.initrd.availableKernelModules = [ "mptspi" ];
});
qemu = (x: { qemu = (x: {
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
imports = [ "${x.modulesPath}/profiles/qemu-guest.nix" ]; imports = [ "${x.modulesPath}/profiles/qemu-guest.nix" ];