1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00
This commit is contained in:
khaneliman 2025-06-04 18:36:30 +00:00
parent cf7237aa58
commit 1f9146d659

View file

@ -14208,6 +14208,105 @@ strings concatenated with “\n”</p>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.aichat.enable"></a><a class="term" href="options.xhtml#opt-programs.aichat.enable"><code class="option">programs.aichat.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable aichat, an All-in-one LLM CLI tool.</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/aichat.nix" target="_top">
&lt;home-manager/modules/programs/aichat.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.aichat.package"></a><a class="term" href="options.xhtml#opt-programs.aichat.package"><code class="option">programs.aichat.package</code>
</a>
</span>
</dt>
<dd>
<p>The aichat 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.aichat</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/aichat.nix" target="_top">
&lt;home-manager/modules/programs/aichat.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.aichat.settings"></a><a class="term" href="options.xhtml#opt-programs.aichat.settings"><code class="option">programs.aichat.settings</code>
</a>
</span>
</dt>
<dd>
<p>Configuration written to
<code class="filename">$XDG_CONFIG_HOME/aichat/config.yaml</code>
on Linux or on Darwin if <a class="xref" href="options.xhtml#opt-xdg.enable" ><code class="option">xdg.enable</code></a> is set, otherwise
<code class="filename">~/Library/Application Support/aichat/config.yaml</code>.
See
<a class="link" href="https://github.com/sigoden/aichat/blob/main/config.example.yaml" target="_top">https://github.com/sigoden/aichat/blob/main/config.example.yaml</a>
for supported values.</p>
<p><span class="emphasis"><em>Type:</em></span>
YAML 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">{
model = &quot;Ollama:mistral-small:latest&quot;;
clients = [
{
type = &quot;openai-compatible&quot;;
name = &quot;Ollama&quot;;
api_base = &quot;http://localhost:11434/v1&quot;;
models = [
{
name = &quot;llama3.2:latest&quot;;
}
];
}
];
}
</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/aichat.nix" target="_top">
&lt;home-manager/modules/programs/aichat.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.alacritty.enable"></a><a class="term" href="options.xhtml#opt-programs.alacritty.enable"><code class="option">programs.alacritty.enable</code>