refactor hydra jobs

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-17 21:13:55 -04:00 committed by Alice Huston
parent ad8b363461
commit fcb7c254e2

View File

@ -1,10 +0,0 @@
{ inputs, outputs }:
let
inherit (inputs.nixpkgs.lib) mapAttrs;
getCfg = _: cfg: cfg.config.system.build.toplevel;
in
{
hosts = mapAttrs getCfg outputs.nixosConfigurations;
formatter = outputs.formatter;
}