forked from DGNum/infrastructure
feat(lib): Add machineKeys
This commit is contained in:
parent
1d40e44399
commit
5f899bc0e7
1 changed files with 3 additions and 0 deletions
|
@ -28,4 +28,7 @@ lib.extra
|
||||||
rootKeys ++ (getAllKeys names);
|
rootKeys ++ (getAllKeys names);
|
||||||
|
|
||||||
rootKeys = getAllKeys meta.organization.groups.root;
|
rootKeys = getAllKeys meta.organization.groups.root;
|
||||||
|
|
||||||
|
machineKeys =
|
||||||
|
rootKeys ++ (getAllKeys (builtins.map (n: "machines/${n}") (builtins.attrNames meta.nodes)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue