-
-
Notifications
You must be signed in to change notification settings - Fork 6
special args
Victor Borja edited this page Nov 17, 2025
·
4 revisions
Since (functional) aspects can take Host, User, and Home data via their context (arguments), there is no need to use specialArgs in configurations.
{ user, host }: {
nixos = ...; # use host data
homeManager = ...; # use user data
}However, at times you may have no other option. For example, if you want a standalone Home-Manager to have access to the osConfig of a particular host, you can achieve it by specifying a custom instantiate attribute on the home object. Be warned that using specialArgs is an anti-pattern in Dendritic and should be avoided unless absolutely necessary.