Repository navigation
feat: host-aspects battery for projecting host homeManager to users - #466
Merged
Merged
Conversation
New battery den._.host-aspects that projects all homeManager-class
configs from the host's aspect tree onto users who opt in.
Usage: den.aspects.tux.includes = [ den._.host-aspects ];
Wraps host.aspect with fixedTo { host, user } so the pipeline resolves
it with class = "homeManager", collecting only homeManager keys. Other
class keys (nixos, darwin) are ignored naturally.
Member
|
Thanks! I will merge. My plan for the future (and for solving Pol's blogpost) is that we can make our fx handlers be much better at deduplication, discarding double contributions (this is related to you hashing arg values). Once that is real, we won't need mutual-provider nor this battery. But we will also need auto-activated capabilities. |
vic
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
den._.host-aspectsthat projects all homeManager-class configs from the host's aspect tree onto users who opt inhost.aspectwithfixedTo { host, user }so the pipeline resolves it withclass = "homeManager", collecting only homeManager keysUsage
Test plan