refactor(dotfiles): inline registry evaluation
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user