From 8cf418cecad324696867f6fa6f1253e306fc66f5 Mon Sep 17 00:00:00 2001 From: Bun Date: Mon, 24 Mar 2025 03:28:38 -0400 Subject: [PATCH] Update qemu hardware file --- hosts/qemu/hardware/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;