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

@ -3,15 +3,8 @@ let
inherit (inputs.nixpkgs.lib) mapAttrs;
getCfg = _: cfg: cfg.config.system.build.toplevel;
# getFormat =
# _: cfg: format:
# cfg.config.formats.${format};
imageWrapper = format: mapAttrs (_: cfg: cfg.config.formats.${format}) outputs.nixosConfigurations;
in
{
inherit (outputs) formatter devShells;
hosts = mapAttrs getCfg outputs.nixosConfigurations;
install-isos = imageWrapper "install-iso";
isos = imageWrapper "iso";
qcow = imageWrapper "qcow";
}