diff --git a/configs/beets.nix b/configs/beets.nix new file mode 100644 index 0000000..86e8cbf --- /dev/null +++ b/configs/beets.nix @@ -0,0 +1,11 @@ +{ lib, pkgs, ... }: +{ + environment.systemPackages = [ pkgs.beets ]; + home-manager.users.me.xdg.configFile = { + "beets/config.yaml".source = (pkgs.formats.yaml {}).generate "config.yaml" { + directory = "~/cloud/syncthing/music"; + library = "~/cloud/syncthing/common/music.db"; + plugins = lib.concatStringsSep " " [ "fetchart" "lastgenre" "lyrics" ]; + }; + }; +} diff --git a/configs/default.nix b/configs/default.nix index 733acf3..0d41fd0 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -193,6 +193,7 @@ in { } ./alacritty.nix ./bash.nix + ./beets.nix ./bluetooth.nix ./ccc.nix ./kleiter.nix