box zfs
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.beets = {
|
||||
enable = true;
|
||||
package = pkgs.beets.override {
|
||||
pluginOverrides = {
|
||||
fetchart.enable = true;
|
||||
embedart.enable = true;
|
||||
lastgenre.enable = true;
|
||||
duplicates.enable = true;
|
||||
missing.enable = true;
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
directory = "/tank/media/music";
|
||||
library = "/home/anish/.local/share/beets/library.db";
|
||||
|
||||
import = {
|
||||
move = true; # Move files from new-music to library
|
||||
write = true; # Write tags to files
|
||||
log = "/tank/new-music/beets-import.log";
|
||||
incremental = true; # Skip already-imported directories
|
||||
};
|
||||
|
||||
# Path format for organizing music
|
||||
paths = {
|
||||
default = "$albumartist/$album%aunique{}/$track $title";
|
||||
singleton = "Non-Album/$artist/$title";
|
||||
comp = "Compilations/$album%aunique{}/$track $title";
|
||||
};
|
||||
|
||||
plugins = [
|
||||
"fetchart"
|
||||
"embedart"
|
||||
"lastgenre"
|
||||
"duplicates"
|
||||
"missing"
|
||||
];
|
||||
|
||||
fetchart = {
|
||||
auto = true;
|
||||
};
|
||||
|
||||
embedart = {
|
||||
auto = true;
|
||||
};
|
||||
|
||||
lastgenre = {
|
||||
auto = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user