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 fa3ae9f8de
commit 97654598cb

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;
}