diff --git a/hosts/qemu/hardware/default.nix b/hosts/qemu/hardware/default.nix index 0e1bb4c5..dded8092 100644 --- a/hosts/qemu/hardware/default.nix +++ b/hosts/qemu/hardware/default.nix @@ -2,8 +2,8 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "sr_mod" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ "kvm-amd" "dm-snapshot" ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;