fix mpd
This commit is contained in:
parent
376627ba84
commit
d496f1259d
|
@ -1,18 +1,18 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
services.mpd = {
|
services.mpd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
musicDirectory = "nfs://viridian.kanto.dev/srv/multimedia/library/music";
|
musicDirectory = "nfs://viridian.home.arpa/srv/multimedia/library/music";
|
||||||
dbFile = null;
|
dbFile = null;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
database {
|
database {
|
||||||
plugin "proxy"
|
plugin "proxy"
|
||||||
host "viridian.kanto.dev"
|
host "viridian.home.arpa"
|
||||||
port "6600"
|
port "6600"
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pipewire"
|
||||||
name "PulseAudio"
|
name "pipewire server"
|
||||||
server "127.0.0.1" # MPD must connect to the local sound server
|
server "127.0.0.1" # MPD must connect to the local sound server
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue