Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-07-07 21:07:06 -04:00 committed by Alice Huston
parent 0b1d843fd2
commit 1e0ee73c13

View File

@ -5,10 +5,13 @@ let
getCfg = _: cfg: cfg.config.system.build.toplevel; getCfg = _: cfg: cfg.config.system.build.toplevel;
in in
{ rec {
inherit (outputs) formatter devShells checks; inherit (outputs) formatter devShells checks;
machines = mapAttrsToList getCfg outputs.nixosConfigurations;
hosts = pkgs.releaseTools.aggregate { hosts = pkgs.releaseTools.aggregate {
name = "hosts"; name = "hosts";
constituents = mapAttrsToList getCfg outputs.nixosConfigurations; constituents = machines;
}; };
} }