From 1bee6e5b29ca5856b6767250b5a2d7805c04fa80 Mon Sep 17 00:00:00 2001 From: "Mohamed C." Date: Tue, 3 Mar 2026 10:25:59 +0100 Subject: [PATCH] test vm --- modules/hosts/computer-mo/hardware.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/hosts/computer-mo/hardware.nix b/modules/hosts/computer-mo/hardware.nix index 45b94d1..20d9772 100644 --- a/modules/hosts/computer-mo/hardware.nix +++ b/modules/hosts/computer-mo/hardware.nix @@ -1,9 +1,10 @@ { flake.nixosModules.computer-mo = { - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ]; nixpkgs.hostPlatform = "x86_64-linux"; hardware.cpu.amd.updateMicrocode = true; networking.hostName = "computer-mo"; + boot.kernelModules = [ "kvm-amd" ]; }; }