diff --git a/spec/incinerator/default.nix b/spec/incinerator/default.nix index afa6b571..e89145f9 100644 --- a/spec/incinerator/default.nix +++ b/spec/incinerator/default.nix @@ -9,7 +9,12 @@ fs.store = "534f985d-0540-49eb-a2f6-b30ea16f41ad"; }; - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + imports = lib.pipe ./. [ + builtins.readDir + (lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix")) + (lib.mapAttrsToList (n: _: ./${n})) + ] ++ [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ];