From b9febaba07b856dc4acb33dad322d3fa01a44968 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 7 Jul 2024 21:26:24 -0400 Subject: [PATCH] keep host topLevel, add constituent job Signed-off-by: ahuston-0 --- hydra/jobs.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hydra/jobs.nix b/hydra/jobs.nix index b5696ee..18466d3 100644 --- a/hydra/jobs.nix +++ b/hydra/jobs.nix @@ -4,13 +4,15 @@ let pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; getCfg = _: cfg: cfg.config.system.build.toplevel; + hostToAgg = _: cfg: cfg; in rec { inherit (outputs) formatter devShells checks; + host = mapAttrs getCfg outputs.nixosConfigurations; + hosts = pkgs.releaseTools.aggregate { name = "hosts"; - constituents = mapAttrsToList getCfg outputs.nixosConfigurations; + constituents = mapAttrsToList hostToAgg host; }; } -// (mapAttrs getCfg outputs.nixosConfigurations)