refactor(dotfiles): split registry helpers #60

Closed
alexion wants to merge 1 commits from refactor-registry-nix into main
Owner

Summary

  • Split src/dotfiles/registry.nix into focused registry helper modules.
  • Keep registry.nix as the orchestration layer for types, module options, and collected data.
  • Preserve the existing registry behavior while separating definition loading, collection, validation, operations, and option construction.

Validation

  • cargo run --locked --quiet -p nix-style-linter -- src/dotfiles/registry.nix src/dotfiles/registry
  • nix eval .#nixosConfigurations --apply builtins.attrNames
  • nix eval .#nixosConfigurations.{neogaia,pikachu,zeus}.config.system.name

nix run .#fix currently fails because it tries to format vendored third_party/crates/rnix-0.14.0 parser fixtures; those side effects were reverted.

## Summary - Split `src/dotfiles/registry.nix` into focused registry helper modules. - Keep `registry.nix` as the orchestration layer for types, module options, and collected data. - Preserve the existing registry behavior while separating definition loading, collection, validation, operations, and option construction. ## Validation - `cargo run --locked --quiet -p nix-style-linter -- src/dotfiles/registry.nix src/dotfiles/registry` - `nix eval .#nixosConfigurations --apply builtins.attrNames` - `nix eval .#nixosConfigurations.{neogaia,pikachu,zeus}.config.system.name` `nix run .#fix` currently fails because it tries to format vendored `third_party/crates/rnix-0.14.0` parser fixtures; those side effects were reverted.
alexion force-pushed refactor-registry-nix from 37857406b9 to 2ddd39e7a1 2026-09-16 23:13:03 -04:00 Compare
alexion closed this pull request 2026-09-16 23:18:04 -04:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#60