1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
This commit is contained in:
khaneliman 2025-10-12 23:44:54 +00:00
parent 6abcddcb0d
commit 86bbac7b63

View file

@ -35173,6 +35173,58 @@ The special placeholder {{args}} will be replaced with the text the user typed a
<p><span class="emphasis"><em>Type:</em></span>
string</p>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/gemini-cli.nix" target="_top">
&lt;home-manager/modules/programs/gemini-cli.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.gemini-cli.context"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.context"><code class="option">programs.gemini-cli.context</code>
</a>
</span>
</dt>
<dd>
<p>An attribute set of context files to create in <code class="literal">~/.gemini/</code>.
The attribute name becomes the filename with <code class="literal">.md</code> extension automatically added.
The value is either inline content or a path to a file.</p><p>Note: You can customize which context file names gemini-cli looks for by setting
<code class="literal">settings.context.fileName</code>. For example:</p><pre><code class="programlisting nix">settings = {
context.fileName = [&quot;AGENTS.md&quot;, &quot;CONTEXT.md&quot;, &quot;GEMINI.md&quot;];
};
</code></pre>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of (strings concatenated with “\n” or absolute path)</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
GEMINI = &#x27;&#x27;
# Global Context
You are a helpful AI assistant for software development.
## Coding Standards
- Follow consistent code style
- Write clear comments
- Test your changes
&#x27;&#x27;;
AGENTS = ./path/to/agents.md;
CONTEXT = &#x27;&#x27;
Additional context instructions here.
&#x27;&#x27;;
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>