keep host topLevel, add constituent job
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
21deb9ab55
commit
b9febaba07
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user