- git
- nix & nix's home manager
/!\ if nix and home-manager are freshly installed either: add
experimental-features = nix-command flakesto~/.config/nix/nix.conf, or flag to each nix command--extra-experimental-features "nix-command flakes"
-
Adjust
usernameto your settings inflake.nix -
Run:
home-manager switch --flake .rm flake.lock
nix flake update
home-manager switch --flake .To test your changes:
nix development
home-manager switch --flake .
exec zshThis setup supports a high-performance agentic workflow using several tools:
Pueue is a task runner that allows you to queue and manage long-running tasks in the background.
- Queue a task: Use the
gqalias (e.g.,gq "Refactor the authentication module"). - Check status: Run
pueue status. - View logs: Run
pueue log <task_id>. - Parallelism: By default, 2 tasks can run in parallel (configured in
home/ai.nix).
To prevent agents from messing with your active workspace, use workmux. It allows you to quickly spin up a git worktree in a separate directory/session. This is highly recommended when running parallel agents.
For complex tasks, it is recommended to use the Sub-Agent architecture provided by Gemini CLI. Instead of manually piping agents, define specialized sub-agents (e.g., a "researcher", a "coder", a "tester") and have a coordinator agent delegate tasks to them. This ensures structured communication and better context management.