Document Nix attribute style convention - #408
Conversation
Co-authored-by: Automata <automata@shikanime.studio> Signed-off-by: Shikanime Deva <william.phetsinorath@shikanime.studio> Change-Id: Idf12382be3522d1e1a915f189847a3ff6a6a6964
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughAGENTS.md now documents Nix formatting rules for single leaf assignments, multi-key record literals, and sorted keys. ChangesNix formatting guidance
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This documentation-only change has no runtime or production impact and is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Documents the Nix attribute-style rule in AGENTS.md: dotted assignment (
a.b.c = v;) for a single leaf under a shared parent key; a record literal once two or more keys share that parent, with keys sorted.Why
The convention previously lived only in the machines repo and drove review churn elsewhere; every Nix-touching repo now carries the same rule.
References
Related: shikanime-labs/machines#1315
Co-authored-by: Automata automata@shikanime.studio
Summary by CodeRabbit