mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-09 12:06:04 +01:00
deploy: e121f3773f
This commit is contained in:
parent
6abcddcb0d
commit
86bbac7b63
1 changed files with 52 additions and 0 deletions
|
|
@ -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>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
string</p>
|
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">
|
||||||
|
<home-manager/modules/programs/gemini-cli.nix>
|
||||||
|
</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 = ["AGENTS.md", "CONTEXT.md", "GEMINI.md"];
|
||||||
|
};
|
||||||
|
</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 = ''
|
||||||
|
# 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.
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||||
<table border="0" summary="Simple list" class="simplelist">
|
<table border="0" summary="Simple list" class="simplelist">
|
||||||
<tr><td>
|
<tr><td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue