about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hosts/mammun_on_vm/hardware/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/mammun_on_vm/hardware/default.nix b/hosts/mammun_on_vm/hardware/default.nix
index e9766f05..ba23e69b 100644
--- a/hosts/mammun_on_vm/hardware/default.nix
+++ b/hosts/mammun_on_vm/hardware/default.nix
@@ -7,6 +7,7 @@
 }: {
   imports = [
     (modulesPath + "/installer/scan/not-detected.nix")
+    (modulesPath + "/profiles/qemu-guest.nix")
     ./cpu.nix
     ./gpu.nix
   ];
@@ -22,6 +23,6 @@
   boot = {
     kernelModules = ["kvm-amd"];
 
-    initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci"];
+    initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci"];
   };
 }