From 5f899bc0e7c498a4f68be69a243806f20fcf130c Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Fri, 8 Mar 2024 23:11:10 +0100 Subject: [PATCH] feat(lib): Add machineKeys --- lib/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/default.nix b/lib/default.nix index 183b9b6..cba4639 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -28,4 +28,7 @@ lib.extra rootKeys ++ (getAllKeys names); rootKeys = getAllKeys meta.organization.groups.root; + + machineKeys = + rootKeys ++ (getAllKeys (builtins.map (n: "machines/${n}") (builtins.attrNames meta.nodes))); }