dotfiles/programs/beets.nix

28 lines
623 B
Nix
Raw Normal View History

2023-05-02 22:47:01 +02:00
{ config, pkgs, lib, ... }:
{
programs.beets = {
enable = true;
settings = {
directory = "~/Music/dj/Library";
library = "~/Music/dj/library.db";
plugins = "spotify acousticbrainz badfiles duplicates fetchart";
import = {
write = "yes";
copy = "yes";
resume = "no";
duplicate_action = "ask";
default_action = "apply";
};
badfiles = { check_on_import = "yes"; };
match = {
max_rec = {
track_length = "strong";
track_title = "strong";
track_artist = "strong";
2023-05-02 22:47:01 +02:00
};
};
};
};
2023-05-02 22:47:01 +02:00
}