users/foo-dogsquared: update beets configuration

This commit is contained in:
Gabriel Arazas 2023-04-24 11:15:41 +08:00
parent cf0c612b5a
commit 50bc735fdf
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -134,12 +134,12 @@ in
library = "${musicDir}/library.db"; library = "${musicDir}/library.db";
plugins = [ plugins = [
"acousticbrainz" "acousticbrainz"
"fetchart"
"fromfilename"
"chroma" "chroma"
"deezer" "deezer"
"edit" "edit"
"export" "export"
"fetchart"
"fromfilename"
"fuzzy" "fuzzy"
"mbsync" "mbsync"
"playlist" "playlist"
@ -150,6 +150,8 @@ in
directory = musicDir; directory = musicDir;
ui.color = true; ui.color = true;
deezer.source_weight = 0.0;
import = { import = {
move = true; move = true;
link = false; link = false;
@ -159,10 +161,7 @@ in
log = "beets.log"; log = "beets.log";
}; };
match = { match.ignore_video_tracks = true;
required = "year label";
ignore_video_tracks = true;
};
# Plugins configuration. # Plugins configuration.
fuzzy.prefix = "-"; fuzzy.prefix = "-";
@ -177,7 +176,7 @@ in
} }
{ {
name = "released-in-$year.m3u8"; name = "released-in-$year.m3u8";
query = "year:2000..2021"; query = "year:2000..2023";
} }
]; ];
}; };
@ -331,18 +330,22 @@ in
"wezterm".source = getDotfiles "wezterm"; "wezterm".source = getDotfiles "wezterm";
}; };
# Automating some files to be fetched on activation.
home.mutableFile = { home.mutableFile = {
# Fetching my dotfiles,...
"library/dotfiles" = { "library/dotfiles" = {
url = "https://github.com/foo-dogsquared/dotfiles.git"; url = "https://github.com/foo-dogsquared/dotfiles.git";
type = "git"; type = "git";
}; };
# ...Doom Emacs,...
"${config.xdg.configHome}/emacs" = { "${config.xdg.configHome}/emacs" = {
url = "https://github.com/doomemacs/doomemacs.git"; url = "https://github.com/doomemacs/doomemacs.git";
type = "git"; type = "git";
extraArgs = [ "--depth" "1" ]; extraArgs = [ "--depth" "1" ];
}; };
# ...and my custom theme to be a showoff.
"${config.xdg.dataHome}/base16/bark-on-a-tree" = { "${config.xdg.dataHome}/base16/bark-on-a-tree" = {
url = "https://github.com/foo-dogsquared/base16-bark-on-a-tree-scheme.git"; url = "https://github.com/foo-dogsquared/base16-bark-on-a-tree-scheme.git";
type = "git"; type = "git";