hosts?
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
0b1d843fd2
commit
1e0ee73c13
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user