From d97cdbd9491f1b0fd2244153d06f8157719030e6 Mon Sep 17 00:00:00 2001 From: alexion Date: Thu, 1 Oct 2026 21:46:25 -0400 Subject: [PATCH] refactor(dotfiles): inline registry evaluation --- src/dotfiles/registry.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/dotfiles/registry.nix b/src/dotfiles/registry.nix index 6d18b15..2582ce4 100644 --- a/src/dotfiles/registry.nix +++ b/src/dotfiles/registry.nix @@ -12,16 +12,13 @@ let # NOLINT(single_use_binding) mkRegistry = path: - let - evaluated = lib.evalModules { - specialArgs = { inherit util; }; - modules = [ - (import ./registry/schema.nix { inherit lib; }) - path - ]; - }; - in - evaluated.config; + (lib.evalModules { + specialArgs = { inherit util; }; + modules = [ + (import ./registry/schema.nix { inherit lib; }) + path + ]; + }).config; data = validate ( lib.mapAttrs (