diff --git a/nixos/modules/image/images.nix b/nixos/modules/image/images.nix index 776f896f720f8..84e364818adc5 100644 --- a/nixos/modules/image/images.nix +++ b/nixos/modules/image/images.nix @@ -9,6 +9,7 @@ let inherit (lib) types; imageModules = { + amazon = [ ../../maintainers/scripts/ec2/amazon-image.nix ]; azure = [ ../virtualisation/azure-image.nix ]; digital-ocean = [ ../virtualisation/digital-ocean-image.nix ]; google-compute = [ ../virtualisation/google-compute-image.nix ]; @@ -17,11 +18,45 @@ let lxc = [ ../virtualisation/lxc-container.nix ]; lxc-metadata = [ ../virtualisation/lxc-image-metadata.nix ]; oci = [ ../virtualisation/oci-image.nix ]; + openstack = [ ../../maintainers/scripts/openstack/openstack-image.nix ]; + openstack-zfs = [ ../../maintainers/scripts/openstack/openstack-image-zfs.nix ]; proxmox = [ ../virtualisation/proxmox-image.nix ]; + proxmox-lxc = [ ../virtualisation/proxmox-lxc.nix ]; + qemu-efi = [ ../virtualisation/disk-image.nix ]; + qemu = [ + ../virtualisation/disk-image.nix + { + image.efiSupport = false; + } + ]; + raw-efi = [ + ../virtualisation/disk-image.nix + { + image.format = "raw"; + } + ]; + raw = [ + ../virtualisation/disk-image.nix + { + image.format = "raw"; + image.efiSupport = false; + } + ]; kubevirt = [ ../virtualisation/kubevirt.nix ]; vagrant-virtualbox = [ ../virtualisation/vagrant-virtualbox-image.nix ]; virtualbox = [ ../virtualisation/virtualbox-image.nix ]; vmware = [ ../virtualisation/vmware-image.nix ]; + iso = [ ../installer/cd-dvd/iso-image.nix ]; + iso-installer = [ ../installer/cd-dvd/installation-cd-base.nix ]; + sd-card = [ + ( + let + module = ../. + "/installer/sd-card/sd-image-${pkgs.targetPlatform.linuxArch}.nix"; + in + if builtins.pathExists module then module else throw "The module ${module} does not exist." + ) + ]; + kexec = [ ../installer/netboot/netboot-minimal.nix ]; }; imageConfigs = lib.mapAttrs ( name: modules: