diff --git a/options.xhtml b/options.xhtml index b31afb859..5d4601bdf 100644 --- a/options.xhtml +++ b/options.xhtml @@ -35173,6 +35173,58 @@ The special placeholder {{args}} will be replaced with the text the user typed a

Type: string

+

Declared by:

+ + +
+ +<home-manager/modules/programs/gemini-cli.nix> + +
+ +
+ + programs.gemini-cli.context + + +
+
+

An attribute set of context files to create in ~/.gemini/. +The attribute name becomes the filename with .md extension automatically added. +The value is either inline content or a path to a file.

Note: You can customize which context file names gemini-cli looks for by setting +settings.context.fileName. For example:

settings = {
+  context.fileName = ["AGENTS.md", "CONTEXT.md", "GEMINI.md"];
+};
+
+ +

Type: +attribute set of (strings concatenated with ā€œ\nā€ or absolute path)

+ +

Default: +{ }

+ +

Example:

{
+  GEMINI = ''
+    # Global Context
+
+    You are a helpful AI assistant for software development.
+
+    ## Coding Standards
+
+    - Follow consistent code style
+    - Write clear comments
+    - Test your changes
+  '';
+
+  AGENTS = ./path/to/agents.md;
+
+  CONTEXT = ''
+    Additional context instructions here.
+  '';
+}
+
+
+

Declared by: