automatically import ${namespace}.${class} as module #9
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#8 apply nixfmt to tree of flakes
nixos/base
Reference
nixos/base!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nonapode/auto-import"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As we moved on to a pattern where we have multiple repositories and a host repository to collect these to merge them into one final configuration we have a lot of redundancy:
This will change will help in this regard so that the sub-repo can specify the configuration as well for class in an output ${namespace}.${class} module that is automatically loaded.
So the main-repo will only specify the sub-repo as an
inputand automatically will load whatever is specified in that repo for the classes set for this host (by default the hostname).So one might have a git-sub-repo fbs42:nixos/mail that has the following outputs:
This repository might now be used by several hosts, e.g.