Revert "refactor(dotfiles): inline registry join"

This reverts commit 8fa11b85fd.
This commit is contained in:
2026-09-30 09:55:52 -04:00
parent 8fa11b85fd
commit c22c6d3039

View File

@@ -59,14 +59,16 @@ let
rawDeclarations = rawDeclarations =
registryName: lib.mapAttrs (_hostName: host: host.config.registry.${registryName} or { }) hosts; registryName: lib.mapAttrs (_hostName: host: host.config.registry.${registryName} or { }) hosts;
join =
registry: host: entry:
lib.filterAttrs (_name: value: value != null) (
lib.mapAttrs (
registryName: _registry: (registry.${registryName}.${host} or { }).${entry} or null
) definitions
);
in in
collectData collectData
// { // {
join = join = host: entry: join collectData host entry;
host: entry:
lib.filterAttrs (_name: value: value != null) (
lib.mapAttrs (
registryName: _registry: (collectData.${registryName}.${host} or { }).${entry} or null
) definitions
);
} }