This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/user/configs/beets/default.nix

32 lines
726 B
Nix
Executable File

{ ... }: {
programs.beets = {
enable = true;
settings = {
plugins = "ftintitle fetchart embedart chroma edit replaygain badfiles fish";
directory = "/mnt/hdd/Music";
library = "/mnt/hdd/Music/library.db";
# asciify_paths = true;
import = {
"write" = true;
"resume" = true;
"group_albums" = true;
"move" = true;
};
paths = {
"default" = "$albumartist/$year - $album%aunique{}/$track $title";
"singleton" = "Singles/$artist/$year - $title";
"comp" = "Compilations/$year - $album%aunique{}/$track $title";
};
replaygain = {
"backend" = "gstreamer";
"threads" = 16;
};
};
};
}