forked from mirrors/nixpkgs
nixos-installer: use the hyperv module on hyperv
This commit is contained in:
parent
3a76bc7a79
commit
ca6d41ae65
|
@ -277,8 +277,7 @@ if ($virt eq "qemu" || $virt eq "kvm" || $virt eq "bochs") {
|
||||||
|
|
||||||
# Also for Hyper-V.
|
# Also for Hyper-V.
|
||||||
if ($virt eq "microsoft") {
|
if ($virt eq "microsoft") {
|
||||||
push @initrdAvailableKernelModules, "hv_storvsc";
|
push @attrs, "virtualisation.hypervGuest.enable = true;"
|
||||||
$videoDriver = "fbdev";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue