This commit is contained in:
♥ Minnie ♥ 2024-11-23 12:06:14 +08:00
parent 376627ba84
commit d496f1259d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -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
} }
''; '';