about summary refs log tree commit diff stats
path: root/modules/home/conf/beets/plugins/badfiles/default.nix
blob: 338847852a1f8cc3587ca445e0c0e3e1c010b21a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  lib,
  pkgs,
  ...
}: {
  programs.beets.settings.badfiles = {
    check_on_import = true;
    commands = {
      flac = "${lib.getExe' pkgs.flac "flac"} --test --warnings-as-errors --silent";
      mp3 = "${lib.getExe pkgs.mp3val}";
    };
  };
}