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 (