refactor hydra, convert features to refs

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-04-20 13:34:25 -04:00
committed by Alice Huston
parent 13b39a1d26
commit fbaa1f0ac6
4 changed files with 7 additions and 16 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;
}