refactor hydra jobs

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-04-17 21:13:55 -04:00
committed by Alice Huston
parent d766dd28f3
commit e97b484209
2 changed files with 1 additions and 1 deletions

10
.hydra/jobs.nix Normal file
View File

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