1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00
This commit is contained in:
rycee 2023-02-20 22:51:55 +00:00
parent ce94605424
commit 908cb7db8f

View file

@ -7760,6 +7760,25 @@ For available options see <a class="link" href="https://github.com/JakeStanger/m
}
</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/services/mpd-discord-rpc.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-discord-rpc.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.enable"></a><a class="term" href="options.html#opt-services.mpd-mpris.enable"><code class="option">services.mpd-mpris.enable</code></a></span></dt><dd><p>Whether to enable mpd-mpris: An implementation of the MPRIS protocol for MPD.</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/services/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.package"></a><a class="term" href="options.html#opt-services.mpd-mpris.package"><code class="option">services.mpd-mpris.package</code></a></span></dt><dd><p>The mpd-mpris package to use.</p><p><span class="emphasis"><em>Type:</em></span> package</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">pkgs.mpd-mpris</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.mpd.host"></a><a class="term" href="options.html#opt-services.mpd-mpris.mpd.host"><code class="option">services.mpd-mpris.mpd.host</code></a></span></dt><dd><p>The address where MPD is listening for connections.</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>Example:</em></span> <code class="literal">"192.168.1.1"</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.mpd.network"></a><a class="term" href="options.html#opt-services.mpd-mpris.mpd.network"><code class="option">services.mpd-mpris.mpd.network</code></a></span></dt><dd><p>The network used to dial to the MPD server. Check
<a class="link" href="https://golang.org/pkg/net/#Dial" target="_top">https://golang.org/pkg/net/#Dial</a>
for available values (most common are "tcp" and "unix")</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.mpd.password"></a><a class="term" href="options.html#opt-services.mpd-mpris.mpd.password"><code class="option">services.mpd-mpris.mpd.password</code></a></span></dt><dd><p>The password to connect to MPD.</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.mpd.port"></a><a class="term" href="options.html#opt-services.mpd-mpris.mpd.port"><code class="option">services.mpd-mpris.mpd.port</code></a></span></dt><dd><p>The port number where MPD is listening for connections.</p><p><span class="emphasis"><em>Type:</em></span> null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpd-mpris.mpd.useLocal"></a><a class="term" href="options.html#opt-services.mpd-mpris.mpd.useLocal"><code class="option">services.mpd-mpris.mpd.useLocal</code></a></span></dt><dd><p>Whether to configure for the local MPD daemon. If
<code class="literal">true</code> the <code class="literal">network</code>,
<code class="literal">host</code>, and <code class="literal">port</code>
settings are ignored.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">config.services.mpd.enable</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/mpd-mpris.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpd-mpris.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpdris2.enable"></a><a class="term" href="options.html#opt-services.mpdris2.enable"><code class="option">services.mpdris2.enable</code></a></span></dt><dd><p>Whether to enable mpDris2 the MPD to MPRIS2 bridge.</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/services/mpdris2.nix#blob-path" target="_top">
&lt;home-manager/modules/services/mpdris2.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.mpdris2.package"></a><a class="term" href="options.html#opt-services.mpdris2.package"><code class="option">services.mpdris2.package</code></a></span></dt><dd><p>The mpDris2 package to use.</p><p><span class="emphasis"><em>Type:</em></span> package</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">pkgs.mpdris2</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/mpdris2.nix#blob-path" target="_top">