add machines back in
This commit is contained in:
parent
1e0ee73c13
commit
21deb9ab55
@ -1,6 +1,6 @@
|
||||
{ inputs, outputs }:
|
||||
let
|
||||
inherit (inputs.nixpkgs.lib) mapAttrsToList;
|
||||
inherit (inputs.nixpkgs.lib) mapAttrs mapAttrsToList;
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||
@ -8,10 +8,9 @@ in
|
||||
rec {
|
||||
inherit (outputs) formatter devShells checks;
|
||||
|
||||
machines = mapAttrsToList getCfg outputs.nixosConfigurations;
|
||||
|
||||
hosts = pkgs.releaseTools.aggregate {
|
||||
name = "hosts";
|
||||
constituents = machines;
|
||||
constituents = mapAttrsToList getCfg outputs.nixosConfigurations;
|
||||
};
|
||||
}
|
||||
// (mapAttrs getCfg outputs.nixosConfigurations)
|
||||
|
Loading…
x
Reference in New Issue
Block a user