point beet towards server mount

This commit is contained in:
xunuwu 2025-02-19 13:09:11 +01:00
parent dfeafc80b8
commit 1f7551a358
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -1,12 +1,13 @@
{pkgs, ...}: let {pkgs, ...}: let
musicDir = "/home/xun/music/copy"; musicDir = "/server/library/music";
beetsDir = "/home/xun/beets";
in { in {
programs.beets = { programs.beets = {
enable = true; enable = true;
package = pkgs.beets-unstable; package = pkgs.beets-unstable;
settings = { settings = {
directory = "${musicDir}/beets"; directory = "${musicDir}/beets";
library = "${musicDir}/beets.db"; library = "${beetsDir}/beets.db";
import = { import = {
write = true; write = true;
@ -21,13 +22,11 @@ in {
original_date = true; original_date = true;
plugins = ["rewrite" "lyrics" "missing" "unimported" "edit" "duplicates" "info"]; plugins = ["lyrics" "missing" "unimported" "edit" "duplicates" "info"];
rewrite = {
"artist GHOST" = "Ghost and Pals";
};
lyrics = { lyrics = {
synced = true; # prefer synced synced = true; # prefer synced
sources = ["lrclib" "genius" "google" "tekstowo"];
}; };
paths = { paths = {