nixos-installer: use the hyperv module on hyperv

This commit is contained in:
Peter Hoeg 2018-09-28 22:10:31 +08:00
parent 3a76bc7a79
commit ca6d41ae65

View File

@ -277,8 +277,7 @@ if ($virt eq "qemu" || $virt eq "kvm" || $virt eq "bochs") {
# Also for Hyper-V.
if ($virt eq "microsoft") {
push @initrdAvailableKernelModules, "hv_storvsc";
$videoDriver = "fbdev";
push @attrs, "virtualisation.hypervGuest.enable = true;"
}