chore(sessions): Implemented var and var policy primitive types + code ergonomics - #273
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR establishes a comprehensive session configuration system for the ChangesSession Configuration System Primitives and Composition
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Comment |
| //! ] | ||
| //! | ||
| //! [vars] | ||
| //! EDITOR = "hx" |
There was a problem hiding this comment.
Some of these are kinda special (EDITOR, TERM, PAGER etc). Do we want to elevate them to their own thing in the config? Do we want to be able to set a default (separate to the default def in this file) if not set?
There was a problem hiding this comment.
I don't think that's necessary. Home-manager just treats them like normal environment variables, so I think doing the same is fine for us. Typically applications use fallbacks if these are not set. I don't think treating these like other environment variables precludes us from setting our own defaults either though.
Summary by CodeRabbit
Release Notes