about summary refs log tree commit diff stats
path: root/hosts/mammun_on_vm
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-26 12:29:39 +0100
committerene <ene@sils.li>2023-02-26 12:29:39 +0100
commit9f9224f03b44dff44e058b0b5c1cdfb362d5bf8e (patch)
tree1103320f472a4b8f04f76f13a52f0e6221419688 /hosts/mammun_on_vm
parentFeat(hosts): Added mammun for the vm config (diff)
downloadnixos-config-9f9224f03b44dff44e058b0b5c1cdfb362d5bf8e.tar.gz
nixos-config-9f9224f03b44dff44e058b0b5c1cdfb362d5bf8e.zip
Fix(hosts/mammun_on_vm): Add needed kernel modules
Diffstat (limited to '')
-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"];
   };
 }