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
+1 -1
View File
@@ -31,7 +31,7 @@ in
nerd-fonts.hack
];
launchd.daemons = lib.genAttrs' [ "x86" "aarch" ] (arch: lib.nameValuePair "builder-${arch}-machine" (builder arch));
#launchd.daemons = lib.genAttrs' [ "x86" "aarch" ] (arch: lib.nameValuePair "builder-${arch}-machine" (builder arch));
nix = {
enable = true;
+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; }
)
)
+1
View File
@@ -0,0 +1 @@
gregory
+1
View File
@@ -0,0 +1 @@
gregory/
+1
View File
@@ -0,0 +1 @@
gregs-MacBook-Pro-16-inch-Nov-2024/
@@ -1,6 +1,6 @@
{ ... }:
let
username = "gregory.hellings";
username = "greg";
in
{
greg = {
@@ -33,7 +33,6 @@ in
"podman-desktop"
"tabby"
"zed"
"zoom"
];
user = username;
};