feat: pull dynamic names for Darwin/Home
This commit is contained in:
+8
-5
@@ -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; }
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user