nixos/hypervGuest: add Microsoft Synthetic Keyboard driver

Ensure that the HyperV keyboard driver is available in the early
stages of the boot process. This allows the user to enter a disk
encryption passphrase or repair a boot problem in an interactive
shell.
This commit is contained in:
ilian 2021-02-08 13:05:15 +01:00 committed by Peter Hoeg
parent e32aaddc77
commit 29a6c9b9a3

View file

@ -31,6 +31,8 @@ in {
"hv_balloon" "hv_netvsc" "hv_storvsc" "hv_utils" "hv_vmbus" "hv_balloon" "hv_netvsc" "hv_storvsc" "hv_utils" "hv_vmbus"
]; ];
initrd.availableKernelModules = [ "hyperv_keyboard" ];
kernelParams = [ kernelParams = [
"video=hyperv_fb:${cfg.videoMode} elevator=noop" "video=hyperv_fb:${cfg.videoMode} elevator=noop"
]; ];