diff --git a/options.xhtml b/options.xhtml index 58a29e04f..50cceb346 100644 --- a/options.xhtml +++ b/options.xhtml @@ -23465,6 +23465,34 @@ attribute set of strings concatenated with “\n”

} +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+ +
+ + programs.claude-code.agentsDir + + +
+
+

Path to a directory containing agent files for Claude Code. +Agent files from this directory will be symlinked to .claude/agents/.

+ +

Type: +null or absolute path

+ +

Default: +null

+ +

Example: +./agents

+

Declared by:

@@ -23527,6 +23555,100 @@ attribute set of strings concatenated with “\n”

} +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+ +
+ + programs.claude-code.commandsDir + + +
+
+

Path to a directory containing command files for Claude Code. +Command files from this directory will be symlinked to .claude/commands/.

+ +

Type: +null or absolute path

+ +

Default: +null

+ +

Example: +./commands

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+
+
+ + programs.claude-code.hooks + + +
+
+

Custom hooks for Claude Code. +The attribute name becomes the hook filename, and the value is the hook script content. +Hooks are stored in .claude/hooks/ directory.

+ +

Type: +attribute set of strings concatenated with “\n”

+ +

Default: +{ }

+ +

Example:

{
+  post-commit = ''
+    #!/usr/bin/env bash
+    echo "Committed with message: $1"
+  '';
+  pre-edit = ''
+    #!/usr/bin/env bash
+    echo "About to edit file: $1"
+  '';
+}
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+
+
+ + programs.claude-code.hooksDir + + +
+
+

Path to a directory containing hook files for Claude Code. +Hook files from this directory will be symlinked to .claude/hooks/.

+ +

Type: +null or absolute path

+ +

Default: +null

+ +

Example: +./hooks

+

Declared by:

@@ -23587,6 +23709,70 @@ attribute set of (JSON value)

} +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+ +
+ + programs.claude-code.memory.source + + +
+
+

Path to a file containing memory content for CLAUDE.md. +This option is mutually exclusive with memory.text.

+ +

Type: +null or absolute path

+ +

Default: +null

+ +

Example: +./claude-memory.md

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/claude-code.nix> + +
+
+
+ + programs.claude-code.memory.text + + +
+
+

Inline memory content for CLAUDE.md. +This option is mutually exclusive with memory.source.

+ +

Type: +null or strings concatenated with “\n”

+ +

Default: +null

+ +

Example:

''
+  # Project Memory
+  
+  ## Current Task
+  Implementing enhanced claude-code module for home-manager.
+  
+  ## Key Files
+  - claude-code.nix: Main module implementation
+''
+
+

Declared by: