45 lines
725 B
Nix
45 lines
725 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
home.packages = with pkgs; [
|
|
whipper
|
|
beets
|
|
];
|
|
|
|
programs.beets = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
directory = "/var/lib/music";
|
|
library = "/var/lib/music/library.db";
|
|
|
|
plugins = [
|
|
"musicbrainz"
|
|
"fetchart"
|
|
"embedart"
|
|
"scrub"
|
|
"chroma"
|
|
];
|
|
|
|
per_disc_numbering = true;
|
|
|
|
import = {
|
|
move = true;
|
|
copy = false;
|
|
write = true;
|
|
timid = true;
|
|
incremental = false;
|
|
resume = "ask";
|
|
};
|
|
|
|
paths = {
|
|
default = "$albumartist/$album%aunique{}/$track - $title";
|
|
};
|
|
|
|
fetchart.auto = true;
|
|
embedart.auto = true;
|
|
scrub.auto = true;
|
|
};
|
|
};
|
|
}
|