48 lines
805 B
Nix
48 lines
805 B
Nix
{ pkgs, ...}:
|
|
{
|
|
programs.beets.enable = true;
|
|
|
|
# programs.beets.package = pkgs.beets.override {
|
|
# pluginOverrides = {
|
|
# filetote = {
|
|
# enable = true;
|
|
# };
|
|
# };
|
|
# };
|
|
|
|
programs.beets.settings = {
|
|
directory = "/home/user/Music/Tracks";
|
|
|
|
plugins = [ "fetchart" "badfiles" "edit" "fish" "hook" ];
|
|
|
|
import = {
|
|
copy = false;
|
|
move = true;
|
|
autotag = false;
|
|
write = true;
|
|
};
|
|
|
|
paths = {
|
|
default = "$albumartist/$album/$track. $artist - $title";
|
|
};
|
|
|
|
fetchart = {
|
|
auto = true;
|
|
sources = [ "filesystem" ];
|
|
};
|
|
|
|
badfiles = {
|
|
check_on_import = true;
|
|
};
|
|
|
|
hook = {
|
|
hooks = [
|
|
{
|
|
event = "item_imported";
|
|
command = "echo test";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|