{ lib, pkgs, ... }: { programs.beets.settings.badfiles = { check_on_import = true; commands = { flac = "${lib.getExe pkgs.flac} --test --warnings-as-errors --silent"; mp3 = "${lib.getExe pkgs.mp3val}"; }; }; }