summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/server1/hardware.nix (renamed from system/hardware/default.nix)4
-rw-r--r--system/default.nix1
2 files changed, 2 insertions, 3 deletions
diff --git a/system/hardware/default.nix b/hosts/server1/hardware.nix
index c4c7dc9..9fabafe 100644
--- a/system/hardware/default.nix
+++ b/hosts/server1/hardware.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 = [];
 }
diff --git a/system/default.nix b/system/default.nix
index 9aa5d9e..d67ada2 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -1,7 +1,6 @@
 {config, ...}: {
   imports = [
     ./file_system_layouts
-    ./hardware
     ./packages
     ./services
     ./users