Repository navigation
Tasks and DAGs
nxr-wiki-publish edited this page Jul 31, 2026
·
1 revision
Tasks coordinate flake apps; they do not replace them.
nxr list tasks
nxr task ci
nxr task lint unit -j 8 # union DAG; shared deps run once
nxr graph ci --format mermaid
nxr task ci --dry-run
nxr task deploy-prod --set reason="ticket-123"With nxr.flakeModules.default:
perSystem.nxr.tasks.ci = {
description = "Quality gate";
dependsOn = [ "fmt" "lint" "test" ];
};Schema reference: TASKS.md, TASK_SCHEMA_V2.md.
Typed parameters become NXR_PARAM_* at spawn. Required fields fail closed when
non-interactive (use --set / env). On a TTY, nxr can prompt (mux-aware under
tmux/zellij).
Branching stays wizard flake app → nxr task …, not a schema when DSL.
Demo fixture: fixtures/deploy-wizard.
# Scripted (CI):
NXR_FIXTURE_WIZARD_ENV=staging nxr --flake fixtures/deploy-wizard deploy-wizard
NXR_FIXTURE_WIZARD_ENV=production NXR_FIXTURE_WIZARD_REASON=demo \
nxr --flake fixtures/deploy-wizard deploy-wizardPatterns: PATTERNS.md.