rework: more TUIs! (#62)

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-09-28 20:18:12 +02:00
committed by GitHub
parent 1a3f23f248
commit 07a60e91d2
98 changed files with 1280 additions and 1093 deletions
+16
View File
@@ -0,0 +1,16 @@
# Shared script registry: any module that owns a script contributes it here
# (`scripts.<name> = ...`), and every module reads it back via the `scripts`
# module argument.
{
lib,
config,
...
}: {
options.scripts = lib.mkOption {
type = lib.types.attrsOf lib.types.package;
default = {};
internal = true;
};
config._module.args.scripts = config.scripts;
}