mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
vmware: add mptspi module
This commit is contained in:
parent
474b9d3c15
commit
417ec056ae
1 changed files with 4 additions and 1 deletions
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue