Skip to content
Discussion options

You must be logged in to vote

I would think it works because entries only observes the attribute names of config.home.activation, not the corresponding values. If entries was defined so that it also observed the value, then it should produce infinite recursion.

So, something like the following hypothetical definition would probably cause problems:

entries = filterAttrs (n: v: n != name && v != null) config.home.activation;

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SymphonySimper
Comment options

@rycee
Comment options

rycee Jan 4, 2026
Maintainer

@SymphonySimper
Comment options

Answer selected by SymphonySimper
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