1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01:00
This commit is contained in:
rycee 2023-10-23 14:15:34 +00:00
parent e095f78faf
commit 9c62566a88

View file

@ -12297,6 +12297,11 @@ 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">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/services/cbatticon.nix" target="_top"> <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/services/cbatticon.nix" target="_top">
&lt;home-manager/modules/services/cbatticon.nix&gt; &lt;home-manager/modules/services/cbatticon.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.cbatticon.batteryId"></a><a class="term" href="options.html#opt-services.cbatticon.batteryId"><code class="option">services.cbatticon.batteryId</code></a></span></dt><dd><p>ID of the battery to monitor. List with <span class="command"><strong>cbatticon -p</strong></span>.
Defaults to the first entry in the list.</p><p><span class="emphasis"><em>Type:</em></span>
null or string</p><p><span class="emphasis"><em>Default:</em></span>
<code class="literal">null</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/services/cbatticon.nix" target="_top">
&lt;home-manager/modules/services/cbatticon.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.cbatticon.commandCriticalLevel"></a><a class="term" href="options.html#opt-services.cbatticon.commandCriticalLevel"><code class="option">services.cbatticon.commandCriticalLevel</code></a></span></dt><dd><p>Command to execute when the critical battery level is reached.</p><p><span class="emphasis"><em>Type:</em></span> </a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.cbatticon.commandCriticalLevel"></a><a class="term" href="options.html#opt-services.cbatticon.commandCriticalLevel"><code class="option">services.cbatticon.commandCriticalLevel</code></a></span></dt><dd><p>Command to execute when the critical battery level is reached.</p><p><span class="emphasis"><em>Type:</em></span>
null or strings concatenated with “\n”</p><p><span class="emphasis"><em>Default:</em></span> null or strings concatenated with “\n”</p><p><span class="emphasis"><em>Default:</em></span>
<code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span></p><pre class="programlisting">'' <code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span></p><pre class="programlisting">''