remove image generation from Hydra
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user