This commit is contained in:
khaneliman
2026-06-02 13:57:06 +00:00
parent 01ee7f36d8
commit 75dbdc99d8

View File

@@ -61637,6 +61637,197 @@ null or (unsigned integer, meaning &gt;=0)</p>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.enable"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.enable"><code class="option">programs.macos-terminal.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable macOS Terminal.</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">false
</code></pre>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting nix">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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.preferences"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.preferences"><code class="option">programs.macos-terminal.preferences</code>
</a>
</span>
</dt>
<dd>
<p>Options controlling how Terminal.app preferences are applied and
managed.</p>
<p><span class="emphasis"><em>Type:</em></span>
submodule</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">{ }
</code></pre>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting nix">&#x27;&#x27;
{
importSettings = true;
writeFile = false;
}
&#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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.preferences.importSettings"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.preferences.importSettings"><code class="option">programs.macos-terminal.preferences.importSettings</code>
</a>
</span>
</dt>
<dd>
<p>Whether to import the generated plist into the
<code class="literal">com.apple.Terminal</code> preferences domain during activation.</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.preferences.writeFile"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.preferences.writeFile"><code class="option">programs.macos-terminal.preferences.writeFile</code>
</a>
</span>
</dt>
<dd>
<p>Whether to write the generated plist into the
<code class="literal">~/Library/Preferences/com.apple.Terminal.plist</code> file during
activation.</p><p>This is primarily useful for inspection and testing purposes.</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">false
</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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.profiles"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.profiles"><code class="option">programs.macos-terminal.profiles</code>
</a>
</span>
</dt>
<dd>
<p>Configuration settings for profiles within the Terminal.app application.</p><p>Each attribute name is used as the name of the profile, and the value
defines the plist-compatible settings for that profile.</p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of (submodule)</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">{ }
</code></pre>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting nix">&#x27;&#x27;
{
Basic.settings = {
FontAntialias = true;
ShowActiveProcessInTitle = true;
};
&quot;Red Sands&quot;.settings = {
BackgroundAlphaInactive = 0.5;
CommandString = &quot;ssh compute&quot;;
};
}
&#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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.macos-terminal.profiles._name_.settings"></a><a class="term" href="options.xhtml#opt-programs.macos-terminal.profiles._name_.settings"><code class="option">programs.macos-terminal.profiles.&lt;name&gt;.settings</code>
</a>
</span>
</dt>
<dd>
<p>Raw plist-compatible settings for profiles within the Terminal.app
application.</p><p>This attribute set is intended for simple settings that have a
well defined mapping to plist properties.</p><p>Properties that are more obscure and require serialization as
archived Cocoa objects, for example, are unsupported here - they
may require dedicated module options in future.</p><p>Attribute names should reflect the name of plist properties
understood by the Terminal.app application. Unknown attributes
will still be serialized, but may remain unrecognised - and thus
unhonored - by the Terminal.app application.</p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of (Property list (plist) value)</p>
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting nix">{ }
</code></pre>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting nix">&#x27;&#x27;
{
FontAntialias = true;
ShowActiveProcessInTitle = true;
ShowCommandKeyInTitle = true;
};
&#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/macos-terminal.nix" target="_top">
&lt;home-manager/modules/programs/macos-terminal.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.man.enable"></a><a class="term" href="options.xhtml#opt-programs.man.enable"><code class="option">programs.man.enable</code>