Modules
Builtin Stackpanel modules and their internals
Stackpanel ships with a set of builtin modules that provide integrated tooling for common development workflows. Each module is a directory under nix/stackpanel/modules/ with a standard structure:
meta.nix— Pure data: name, description, icon, category, tags, feature flags, flake inputsmodule.nix— Options and configuration logicui.nix— Studio panel definitionsdefault.nix— Entry point that imports the above
Modules are auto-discovered — drop a new directory into nix/stackpanel/modules/ and it's available immediately.
For fast metadata access without full Nix evaluation:
config.stackpanel._moduleMetas.<module-id>Builtin Modules
Process Compose
Process orchestration with auto-generated app processes
Turbo
Turborepo task configuration and caching
Go
Go language tooling, build helpers, and air hot-reload
Bun
Bun package manager integration and workspace support
OxLint
Fast JavaScript/TypeScript linting with per-app configuration
Git Hooks
Pre-commit hooks with auto-discovered linters and formatters
App Commands
Per-app shell commands generated from app configuration
Entrypoints
Application entrypoint script generation
CI Formatters
CI-friendly formatting checks
Env Codegen
Type-safe environment variable code generation
Feature Flags
Shared feature-flag definitions and Studio runtime helpers
Colmena
NixOS deployment with Colmena
Writing a New Module
Use the _template/ directory as a starting point:
cp -r nix/stackpanel/modules/_template nix/stackpanel/modules/my-moduleSee Writing Extensions for the full guide, and the Module Template for the annotated starter files.