diff --git a/machines/lucia/configuration.nix b/machines/lucia/configuration.nix index 6bc3524..2c02a7a 100644 --- a/machines/lucia/configuration.nix +++ b/machines/lucia/configuration.nix @@ -67,17 +67,17 @@ in mpd = { enable = true; musicDirectory = "/var/lib/mpd/music"; - extraConfig = '' - audio_output { - type "alsa" - name "My ALSA" - device "hw:0,0" # optional - format "44100:16:2" # optional - mixer_type "hardware" - mixer_device "default" - mixer_control "PCM" - } - ''; + settings = { + audio_output = [{ + type = "alsa"; + name = "My ALSA"; + device = "hw:0,0"; # optional + format = "44100:16:2"; # optional + mixer_type = "hardware"; + mixer_device = "default"; + mixer_control = "PCM"; + }]; + }; # Optional: network.listenAddress = "any"; # if you want to allow non-localhost connections