mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
nixos/hyperv-guest: Kernel module and param tweaks (#565391)
This commit is contained in:
@@ -28,18 +28,13 @@ in
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot = {
|
||||
initrd.kernelModules = [
|
||||
initrd.availableKernelModules = [
|
||||
"hv_balloon"
|
||||
"hv_netvsc"
|
||||
"hv_storvsc"
|
||||
"hv_utils"
|
||||
"hv_vmbus"
|
||||
];
|
||||
|
||||
initrd.availableKernelModules = [ "hyperv_keyboard" ];
|
||||
|
||||
kernelParams = [
|
||||
"elevator=noop"
|
||||
"hyperv_keyboard"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user