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-10 03:34:06 +00:00
parent dafcf7f738
commit aba86644a2

View file

@ -20895,6 +20895,127 @@ strings concatenated with “\n”</p>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.codex.enable"></a><a class="term" href="options.xhtml#opt-programs.codex.enable"><code class="option">programs.codex.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable Lightweight coding agent that runs in your terminal.</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/codex.nix" target="_top">
&lt;home-manager/modules/programs/codex.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.codex.package"></a><a class="term" href="options.xhtml#opt-programs.codex.package"><code class="option">programs.codex.package</code>
</a>
</span>
</dt>
<dd>
<p>The codex 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.codex</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/codex.nix" target="_top">
&lt;home-manager/modules/programs/codex.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.codex.custom-instructions"></a><a class="term" href="options.xhtml#opt-programs.codex.custom-instructions"><code class="option">programs.codex.custom-instructions</code>
</a>
</span>
</dt>
<dd>
<p>Define custom guidance for the agents; this value is written to {file}~/.codex/AGENTS.md</p>
<p><span class="emphasis"><em>Type:</em></span>
strings concatenated with “\n”</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">&quot;&quot;</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">&#x27;&#x27;
- Always respond with emojis
- Only use git commands when explicitly requested
&#x27;&#x27;
</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/codex.nix" target="_top">
&lt;home-manager/modules/programs/codex.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.codex.settings"></a><a class="term" href="options.xhtml#opt-programs.codex.settings"><code class="option">programs.codex.settings</code>
</a>
</span>
</dt>
<dd>
<p>Configuration written to <code class="filename">~/.codex/config.yaml</code>.
See <a class="link" href="https://github.com/openai/codex#configuration-guide" target="_top">https://github.com/openai/codex#configuration-guide</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;gemma3:latest&quot;;
provider = &quot;ollama&quot;;
providers = {
ollama = {
name = &quot;Ollama&quot;;
baseURL = &quot;http://localhost:11434/v1&quot;;
envKey = &quot;OLLAMA_API_KEY&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/codex.nix" target="_top">
&lt;home-manager/modules/programs/codex.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.command-not-found.enable"></a><a class="term" href="options.xhtml#opt-programs.command-not-found.enable"><code class="option">programs.command-not-found.enable</code>