From d47ccf6c6a1cbc1f207a224d56c8cca655dd6b70 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 17 Jan 2023 17:07:16 +0100 Subject: [PATCH] Add virtio_blk and virtio_pci to initrd for testing --- machines/odin/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/machines/odin/configuration.nix b/machines/odin/configuration.nix index 002817e..a48df9f 100644 --- a/machines/odin/configuration.nix +++ b/machines/odin/configuration.nix @@ -44,11 +44,11 @@ }; initrd = { - availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "" ]; - kernelModules = [ ]; + availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "virtio_blk" "virtio_pci" ]; + kernelModules = [ "kvm-intel" "kvm-amd" ]; }; - kernelModules = [ "kvm-intel" ]; + kernelModules = [ "kvm-intel" "kvm-amd" ]; }; hardware.enableAllFirmware = true;