+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
945d6d7
main
1{ pkgs , config , lib , ...} :{ 2home . packages = with pkgs ; [ 3mpc rmpc inori mus mmtc # music-player 4sox 5mediainfo 6yt-dlp ytmdl spotdl 7# cava 8] ++ lib . optionals stdenv . hostPlatform . isLinux [ 9# taguar 10euphonica 11kid3 strawberry ymuse cantata 12media-downloader 13]; 14 15services = { 16mpd = { enable = true ; 17musicDirectory = lib . mkDefault " ${ config . xdg . userDirs . music } /library" ; 18playlistDirectory = lib . mkDefault " ${ config . xdg . userDirs . music } /library/0-playlists" ; 19extraConfig = '' 20auto_update "yes" 21replaygain "album" 22metadata_to_use "artist,album,title,track,name,genre,date,composer,performer" 23'' + ( lib . optionalString pkgs . stdenv . hostPlatform . isLinux '' 24audio_output { 25type "pipewire" 26name "Pipewire Sound Server" 27}'' ); 28}; 29mpd-mpris . enable = pkgs . stdenv . hostPlatform . isLinux ; 30mpd-discord-rpc . enable = pkgs . stdenv . hostPlatform . isLinux ; 31}; 32}