diff options
author | ilian <ilian@tuta.io> | 2021-02-08 13:05:15 +0100 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2021-02-17 08:01:34 +0000 |
commit | 29a6c9b9a3f1e64c0c68a57a5f087deb97a99f8a (patch) | |
tree | 6eab6cc36ff240329d45326765be8d31fbc4722a /nixos/modules/virtualisation/hyperv-guest.nix | |
parent | e32aaddc7779afaaf102adee155638206b7063b4 (diff) |
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.
Diffstat (limited to 'nixos/modules/virtualisation/hyperv-guest.nix')
-rw-r--r-- | nixos/modules/virtualisation/hyperv-guest.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/hyperv-guest.nix b/nixos/modules/virtualisation/hyperv-guest.nix index adc2810a99398..105224b896492 100644 --- a/nixos/modules/virtualisation/hyperv-guest.nix +++ b/nixos/modules/virtualisation/hyperv-guest.nix @@ -31,6 +31,8 @@ in { "hv_balloon" "hv_netvsc" "hv_storvsc" "hv_utils" "hv_vmbus" ]; + initrd.availableKernelModules = [ "hyperv_keyboard" ]; + kernelParams = [ "video=hyperv_fb:${cfg.videoMode} elevator=noop" ]; |