Skip to content

Why do we use merge // when we can just use imports in home-manager? #107

Answered by dustinlyons
Demianeen asked this question in Q&A
Discussion options

You must be logged in to vote

I think, at the time, I liked the idea of enabling overrides from shared modules within each platform-specific module. It's easy to override stuff in line with //. Moreover, I was running into infinite recursion errors and not solving them so easily. So I went this route.

Both implementations are fine with tradeoffs.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Demianeen
Comment options

@dustinlyons
Comment options

Answer selected by Demianeen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants