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-10-03 19:22:15 +00:00
parent 3ec5412999
commit 054edbbc02

View file

@ -19838,6 +19838,109 @@ attribute set of (boolean or floating point number or signed integer or string)<
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.asciinema.enable"></a><a class="term" href="options.xhtml#opt-programs.asciinema.enable"><code class="option">programs.asciinema.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable Enable installing asciinema and writing configuration file.</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/asciinema.nix" target="_top">
&lt;home-manager/modules/programs/asciinema.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.asciinema.package"></a><a class="term" href="options.xhtml#opt-programs.asciinema.package"><code class="option">programs.asciinema.package</code>
</a>
</span>
</dt>
<dd>
<p>The asciinema 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.asciinema</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/asciinema.nix" target="_top">
&lt;home-manager/modules/programs/asciinema.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.asciinema.settings"></a><a class="term" href="options.xhtml#opt-programs.asciinema.settings"><code class="option">programs.asciinema.settings</code>
</a>
</span>
</dt>
<dd>
<p>Declare-able configurations for asciinema written to
<code class="filename">$XDG_CONFIG_HOME/asciinema/config.toml</code>.</p><p>Check official docs for available configurations;
https://docs.asciinema.org/manual/cli/configuration/v3/#config-file</p>
<p><span class="emphasis"><em>Type:</em></span>
TOML 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">{
notifications = {
command = &quot;tmux display-message \&quot;$TEXT\&quot;&quot;;
enable = false;
};
playback = {
next_marker_key = &quot;m&quot;;
pause_key = &quot;^p&quot;;
speed = 2;
step_key = &quot;s&quot;;
};
server = {
url = &quot;https://asciinema.example.com&quot;;
};
session = {
add_marker_key = &quot;^x&quot;;
capture_env = &quot;SHELL,TERM,USER&quot;;
capture_input = true;
command = &quot;/run/current-system/sw/bin/bash -l&quot;;
idle_time_limit = 2;
pause_key = &quot;^p&quot;;
prefix_key = &quot;^a&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/asciinema.nix" target="_top">
&lt;home-manager/modules/programs/asciinema.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.ashell.enable"></a><a class="term" href="options.xhtml#opt-programs.ashell.enable"><code class="option">programs.ashell.enable</code>