summary refs log tree commit diff stats
path: root/system/hardware/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-19 17:58:43 +0100
committerene <ene@sils.li>2023-03-19 17:58:43 +0100
commit7881651fba877dd9a79c4c32422cd7305f0306b5 (patch)
tree83aa5d1f181c54f74ab4dff9ac14578c0836f023 /system/hardware/default.nix
parentFix(system/services/minecraft): Remove to make compile (diff)
downloadnixos-server-7881651fba877dd9a79c4c32422cd7305f0306b5.tar.gz
nixos-server-7881651fba877dd9a79c4c32422cd7305f0306b5.zip
Fix(system/hardware): Use actually needed modules and UUID
The old values did work, but these should just make things a bit
clearer.
Diffstat (limited to '')
-rw-r--r--system/hardware/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/hardware/default.nix b/system/hardware/default.nix
index c4c7dc9..9fabafe 100644
--- a/system/hardware/default.nix
+++ b/system/hardware/default.nix
@@ -4,6 +4,6 @@
     (modulesPath + "/profiles/headless.nix")
   ];
   boot.loader.grub.device = "/dev/vda";
-  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
-  boot.initrd.kernelModules = ["nvme" "btrfs"];
+  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
+  boot.initrd.kernelModules = [];
 }