Inventory: init: deployment info for machines

This commit is contained in:
Johannes Kirschbauer
2024-07-16 13:56:53 +02:00
parent 2947f64f3a
commit ac95878ead
4 changed files with 20 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ let
availableTags = lib.foldlAttrs (
acc: _: v:
v.tags or [ ] ++ acc
) [ ] (lib.traceValSeq inventory.machines);
) [ ] (inventory.machines);
tagMembers = builtins.attrNames (
lib.filterAttrs (_n: v: builtins.elem tag v.tags or [ ]) inventory.machines