{pkgs, ...}: { # Setup MPD as the backend of RMPC services.mpd = { enable = true; user = "mun"; musicDirectory = "/home/mun//Music"; extraConfig = '' audio_output { type "pipewire" name "PipeWire" } ''; }; # Install rmpc from unstable nix home.packages = with pkgs.unstable; [ rmpc ] # Add cava and libnotify as a stable package for config dependencies ++ (with pkgs; [ cava libnotify ]); # Write the rmpc config xdg.configFile."rmpc/config.ron".source = ./rmpc/config.ron; }