diff options
author | Peter Hoeg <peter@hoeg.com> | 2018-10-03 11:45:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 11:45:29 +0800 |
commit | 7af39cb9b8f88d7f2658a0ce3608371dc99056b6 (patch) | |
tree | 1cff085af10b14288b4f5d8fa3f431245a227197 /nixos/modules/installer | |
parent | 8bc64b6c24b1b7bf46ddf4d3ee6a7d9a5f055d0c (diff) | |
parent | 6e3e136f77b3103a0c3b3fe7578c5864932b649c (diff) | |
download | nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar.gz nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar.bz2 nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar.lz nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar.xz nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.tar.zst nixlib-7af39cb9b8f88d7f2658a0ce3608371dc99056b6.zip |
Merge pull request #47482 from peterhoeg/f/hyperv
nixos on hyperv: load proper modules and make installer use the module
Diffstat (limited to 'nixos/modules/installer')
-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 359caad89a72..b70faa380e54 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;" } |