mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
deploy: 27a26be51f
This commit is contained in:
parent
7ee13bd17f
commit
f469c31244
1 changed files with 199 additions and 0 deletions
199
options.xhtml
199
options.xhtml
|
|
@ -30571,6 +30571,205 @@ attribute set of string</p>
|
|||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.gemini-cli.enable"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.enable"><code class="option">programs.gemini-cli.enable</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Whether to enable gemini-cli.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
boolean</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">false</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">true</code></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.package"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.package"><code class="option">programs.gemini-cli.package</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>The gemini-cli package to use.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
null or package</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">pkgs.gemini-cli</code></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.commands"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.commands"><code class="option">programs.gemini-cli.commands</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>An attribute set of custom commands that will be globally available.
|
||||
The name of the attribute set will be the name of each command.
|
||||
You may use subdirectories to create namespaced commands, such as <code class="literal">git/fix</code> becoming <code class="literal">/git:fix</code>.
|
||||
See https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/commands.md#custom-commands for more information.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
attribute set of (string)</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">changelog = {
|
||||
prompt =
|
||||
''
|
||||
Your task is to parse the `<version>`, `<change_type>`, and `<message>` from their input and use the `write_file` tool to correctly update the `CHANGELOG.md` file.
|
||||
'';
|
||||
description = "Adds a new entry to the project's CHANGELOG.md file.";
|
||||
};
|
||||
"git/fix" = { # Becomes /git:fix
|
||||
prompt = "Please analyze the staged git changes and provide a code fix for the issue described here: {{args}}.";
|
||||
description = "Generates a fix for a given GitHub issue.";
|
||||
};
|
||||
|
||||
</code></pre>
|
||||
|
||||
<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.commands._name_.description"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.commands._name_.description"><code class="option">programs.gemini-cli.commands.<name>.description</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>A brief, one-line description of what the command does.
|
||||
This text will be displayed next to your command in the /help menu.
|
||||
If you omit this field, a generic description will be generated from the filename.</p>
|
||||
|
||||
<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">
|
||||
<home-manager/modules/programs/gemini-cli.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.gemini-cli.commands._name_.prompt"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.commands._name_.prompt"><code class="option">programs.gemini-cli.commands.<name>.prompt</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>The prompt that will be sent to the Gemini model when the command is executed.
|
||||
This can be a single-line or multi-line string.
|
||||
The special placeholder {{args}} will be replaced with the text the user typed after the command name.</p>
|
||||
|
||||
<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">
|
||||
<home-manager/modules/programs/gemini-cli.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.gemini-cli.defaultModel"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.defaultModel"><code class="option">programs.gemini-cli.defaultModel</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>The default model to use for the CLI.
|
||||
Will be set as $GEMINI_MODEL.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
string</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">"gemini-2.5-pro"</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">"gemini-2.5-flash"</code></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.settings"></a><a class="term" href="options.xhtml#opt-programs.gemini-cli.settings"><code class="option">programs.gemini-cli.settings</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>JSON config for gemini-cli</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
JSON value</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">{
|
||||
"theme": "Default",
|
||||
"vimMode": true,
|
||||
"preferredEditor": "nvim",
|
||||
"autoAccept": true
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
|
||||
<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.gh.enable"></a><a class="term" href="options.xhtml#opt-programs.gh.enable"><code class="option">programs.gh.enable</code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue