diff options
author | Peter Hoeg <peter@hoeg.com> | 2018-09-28 22:10:31 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2018-09-28 22:28:18 +0800 |
commit | ca6d41ae654386562ef7f00ae268e6e9070a3f49 (patch) | |
tree | bfa2a7425433ab7371ca0d4ec137ef8ec3fa2a5e | |
parent | 3a76bc7a79e18020716ba063dcd1bd8ec11b0790 (diff) |
nixos-installer: use the hyperv module on hyperv
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 359caad89a720..b70faa380e545 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -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;" } |