core/lib/blocks/default.nix

23 lines
353 B
Nix
Raw Normal View History

2025-08-05 14:55:13 +02:00
{
2025-08-05 16:15:24 +02:00
simple = name: {
inherit name;
type = name;
};
dynamic = name: {
inherit name;
type = name;
cli = true;
actions = args: {};
2025-08-05 16:15:24 +02:00
# TODO: dynamic actions
};
autodiscover = {
name = "__autodiscover";
type = "__autodiscover";
_functor = self: cell:
self
// {
inherit cell;
};
};
2025-08-05 14:55:13 +02:00
}