feat: add beets to manage my music library

This commit is contained in:
Teesh 2026-02-14 16:41:34 +02:00
parent 90da9da0d5
commit 22114889a6

18
modules/desktop/beets.nix Normal file
View file

@ -0,0 +1,18 @@
{config, ...}: {
flake.modules.nixos.desktop = {pkgs, ...}: {
environment.systemPackages = with pkgs; [beets];
};
flake.modules.homeManager.desktop = {
programs.beets = {
enable = true;
settings = {
directory = "/home/${config.flake.meta.user.name}/Music";
import.move = true;
import.copy = false;
paths.default = "$albumartist/$album/$track $title";
plugins = ["fetchart" "musicbrainz"];
};
};
};
}