From 977c15a57f65b577b3f5497d3ce77b79f2f3d18c Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Tue, 21 Apr 2026 16:28:47 -0400 Subject: [PATCH] feat(claude): deploy OMC agents and CLAUDE.md config via nix Add agents directory from oh-my-claudecode flake input, include the upstream OMC CLAUDE.md configuration block via builtins.readFile, and add statusLine/env/teammateMode to the declarative settings.json. --- home.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 7a70b2d..210a7fa 100644 --- a/home.nix +++ b/home.nix @@ -221,9 +221,16 @@ recursive = true; }; + # Claude Code agents (managed declaratively via flake inputs) + home.file.".claude/agents" = { + source = "${oh-my-claudecode}/agents"; + recursive = true; + }; + # Claude Code configuration home.file.".claude/CLAUDE.md" = { - text = '' + text = builtins.readFile "${oh-my-claudecode}/CLAUDE.md" + '' + ## Commit Behavior After completing each logical unit of work, use the /commit skill to stage @@ -276,6 +283,14 @@ }; alwaysThinkingEnabled = true; includeCoAuthoredBy = false; + statusLine = { + type = "command"; + command = "node \${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hud/omc-hud.mjs"; + }; + env = { + CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS = "1"; + }; + teammateMode = "tmux"; }; force = true; };