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/beets.nix

38 lines
848 B
Nix
Executable File

{ config, pkgs, ... }: {
programs.beets = {
enable = true;
settings = {
plugins = "mpdupdate ftintitle fetchart chroma edit";
directory = "/mnt/hdd/Music";
library = "/mnt/hdd/Music/library.db";
import = {
"resume" = true;
"group_albums" = true;
"move" = true;
};
paths = {
"default" =
"%asciify{$albumartist}/$year - %asciify{$album}%aunique{}/$track %asciify{$title}";
"singleton" = "Non-Album/%asciify{$artist}/%asciify{$title}";
"comp" =
"Compilations/%asciify{$album}%aunique{}/$track %asciify{$title}";
};
ftintitle = { "auto" = true; };
fetchart = { "auto" = true; };
chroma = { auto = true; };
replaygain = {
"backend" = "gstreamer";
"threads" = 8;
};
};
};
}