1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00
This commit is contained in:
khaneliman 2025-05-11 01:09:00 +00:00
parent e4c2d0a59a
commit 027f061c15

View file

@ -58690,6 +58690,51 @@ null or package</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">pkgs.television</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/television.nix" target="_top">
&lt;home-manager/modules/programs/television.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.television.channels"></a><a class="term" href="options.xhtml#opt-programs.television.channels"><code class="option">programs.television.channels</code>
</a>
</span>
</dt>
<dd>
<p>Each set of channels are written to
<code class="filename">$XDG_CONFIG_HOME/television/NAME-channels.toml</code></p><p>See <a class="link" href="https://github.com/alexpasmantier/television/blob/main/docs/channels.md" target="_top">https://github.com/alexpasmantier/television/blob/main/docs/channels.md</a>
for options</p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of (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">{
my-custom = {
cable_channel = [
{
name = &quot;git-log&quot;;
source_command = &quot;git log --oneline --date=short --pretty=\&quot;format:%h %s %an %cd\&quot; \&quot;$@\&quot;&quot;;
preview_command = &quot;git show -p --stat --pretty=fuller --color=always {0}&quot;;
}
{
name = &quot;git-log&quot;;
source_command = &quot;git log --oneline --date=short --pretty=\&quot;format:%h %s %an %cd\&quot; \&quot;$@\&quot;&quot;;
preview_command = &quot;git show -p --stat --pretty=fuller --color=always {0}&quot;;
}
];
};
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>