-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
👀 Status: Review NeededThis issue is pending a reviewThis issue is pending a review💪 Effort: 3This issue is of medium complexity or only partly well understoodThis issue is of medium complexity or only partly well understood
Description
Instead of mixing config intent and rendering / re-ification like this:
{
bench = dev.mkShell {
name = lib.mkDefault "Bench Shell";
nixago = [
(dev.mkNixago cell.config.procfile)
(dev.mkNixago cell.config.redis_socketio)
(dev.mkNixago cell.config.redis_queue)
(dev.mkNixago cell.config.redis_cache)
];
};
}
Keep only the intent (config), like so:
{
bench = {
name = lib.mkDefault "Bench Shell";
nixago = [
cell.config.procfile
cell.config.redis_socketio
cell.config.redis_queue
cell.config.redis_cache
];
};
}
The re-ification can be provided via block type actions.
This increases ease of composition for these configuration targets.
Caveat: harvesting from config won't be possible anymore. For harvesting, users would have to re-ify themselves in a separate block type.
montchr, Pegasust, henrywong-crypto and Lord-Valen
Metadata
Metadata
Assignees
Labels
👀 Status: Review NeededThis issue is pending a reviewThis issue is pending a review💪 Effort: 3This issue is of medium complexity or only partly well understoodThis issue is of medium complexity or only partly well understood