feat: pull dynamic names for Darwin/Home

This commit is contained in:
Greg Hellings
2026-04-06 16:21:02 -05:00
parent 0d70a9e018
commit 6b7f54d0a2
15 changed files with 64 additions and 49 deletions
+8 -5
View File
@@ -37,8 +37,11 @@ let
++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
};
in
{
"MacBook-Pro" = mac { name = "ivr"; };
"MacBook-Prolocal" = mac { name = "ivr"; };
"li" = mac { name = "li"; };
}
(
lib.genAttrs
(builtins.attrNames (builtins.readDir ./hosts))
(
name:
mac { inherit name; }
)
)