diff options
| author | ene <ene@sils.li> | 2023-02-26 12:29:39 +0100 |
|---|---|---|
| committer | ene <ene@sils.li> | 2023-02-26 12:29:39 +0100 |
| commit | 9f9224f03b44dff44e058b0b5c1cdfb362d5bf8e (patch) | |
| tree | 1103320f472a4b8f04f76f13a52f0e6221419688 | |
| parent | Feat(hosts): Added mammun for the vm config (diff) | |
| download | 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.nix | 3 |
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"]; }; } |
