{ config, pkgs, ... }: let mpdDir = "${config.home.homeDirectory}/.mpd"; in { imports = [ ./common.nix ]; home.packages = [ pkgs.mpc_cli ]; home.file.".mpd/mpd.conf".text = '' music_directory "https://dav.monotremata.xyz/music" playlist_directory "${mpdDir}/playlists" log_file "${mpdDir}/mpd.log" pid_file "${mpdDir}/mpd.pid" state_file "${mpdDir}/mpdstate" database { plugin "proxy" host "narwhal" port "6600" } audio_output { type "osx" name "CoreAudio" mixer_type "software" } decoder { plugin "mp4ff" enabled "no" } bind_to_address "0.0.0.0" port "6600" user "rilla" ''; }