nix-config/configs/home-manager/beets.nix

52 lines
882 B
Nix
Raw Normal View History

2024-04-06 23:27:57 +02:00
{
config,
pkgs,
lib,
...
}: {
programs.beets = {
enable = true;
2024-10-22 13:46:47 +02:00
mpdIntegration.enableUpdate = true;
2024-04-06 23:27:57 +02:00
settings = {
directory = "~/Music";
library = "~/Music/library.db";
import = {
move = true;
write = true;
};
plugins = [
2024-10-22 13:46:47 +02:00
"badfiles"
2024-04-06 23:27:57 +02:00
"chroma"
2024-10-22 13:46:47 +02:00
"deezer"
"discogs"
2024-04-06 23:27:57 +02:00
"duplicates"
2024-10-22 13:46:47 +02:00
"edit"
"embedart"
"fetchart"
2024-04-06 23:27:57 +02:00
"fromfilename"
2024-10-22 13:46:47 +02:00
"fuzzy"
"info"
"lastgenre"
"lyrics"
"mbsync"
"missing"
"replaygain"
"scrub"
"spotify"
"thumbnails"
2024-04-06 23:27:57 +02:00
];
replaygain = {
auto = false;
backend = "ffmpeg";
};
2024-10-22 13:46:47 +02:00
duplicates = {
tiebreak.items = ["bitrate"];
};
2024-04-06 23:27:57 +02:00
asciify_paths = true;
};
};
home.packages = with pkgs; [
ffmpeg
];
}