remove image generation from Hydra

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-06-03 20:59:02 -04:00
committed by Alice Huston
parent 1b6b2d3bf2
commit de3a027ab0
3 changed files with 18 additions and 8 deletions

View File

@ -213,4 +213,15 @@ rec {
}
) (lib.rad-dev.lsdir path)
);
# gets all the images of a specified format
#
# args:
# systems: a set of systems to generate (usually outputs.nixosConfigurations)
# format: a format to generate images for (must be a format compatible with
# nixos-generators or custom)
#
# type:
# AttrSet -> String -> AttrSet
getImages = systems: format: lib.mapAttrs (_: cfg: cfg.config.formats.${format}) systems;
}