1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ lib, pkgs, config, ... }: { programs.beets.settings.play = { command = "${lib.getExe pkgs.mpc} $args add"; relative_to = config.services.mpd.musicDirectory; # Run the command with the returned paths as arguments raw = true; }; }