From 143ad28b1b1432c11c11a57a93e4e80af1637963 Mon Sep 17 00:00:00 2001 From: alexion Date: Sun, 27 Sep 2026 09:37:01 -0400 Subject: [PATCH] refactor(dotfiles): inline registry name derivation --- src/dotfiles/registry.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dotfiles/registry.nix b/src/dotfiles/registry.nix index 1f12b27..c8ce56e 100644 --- a/src/dotfiles/registry.nix +++ b/src/dotfiles/registry.nix @@ -6,11 +6,11 @@ }: let definitions = lib.listToAttrs ( - map (path: lib.nameValuePair (registryName path) (mkRegistry path)) (util.collectNixFiles root) + map (path: lib.nameValuePair (util.removeNixSuffix path) (mkRegistry path)) ( + util.collectNixFiles root + ) ); - registryName = util.removeNixSuffix; - mkRegistry = path: let