diff options
Diffstat (limited to 'users/fcuny/cli')
-rw-r--r-- | users/fcuny/cli/beets.nix | 18 | ||||
-rw-r--r-- | users/fcuny/cli/default.nix | 11 |
2 files changed, 27 insertions, 2 deletions
diff --git a/users/fcuny/cli/beets.nix b/users/fcuny/cli/beets.nix new file mode 100644 index 0000000..6c3b53b --- /dev/null +++ b/users/fcuny/cli/beets.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: + +{ + programs.beets = { + enable = true; + settings = { + directory = "/data/fast/music"; + plugins = "fromfilename duplicates fetchart badfiles scrub"; + paths = { default = "$albumartist/$album%aunique{}/$track $title"; }; + import = { copy = true; }; + va_name = "Various Artists"; + fetchart = { + cautious = true; + sources = "filesystem coverart itunes amazon lastfm wikipedia"; + }; + }; + }; +} diff --git a/users/fcuny/cli/default.nix b/users/fcuny/cli/default.nix index 0a35288..2478998 100644 --- a/users/fcuny/cli/default.nix +++ b/users/fcuny/cli/default.nix @@ -1,8 +1,15 @@ { config, lib, pkgs, ... }: { - imports = - [ ./backups.nix ./git.nix ./ssh.nix ./tmux.nix ./yt-dlp.nix ./shell.nix ]; + imports = [ + ./backups.nix + ./beets.nix + ./git.nix + ./shell.nix + ./ssh.nix + ./tmux.nix + ./yt-dlp.nix + ]; home.packages = [ pkgs.gcc pkgs.gnumake pkgs.jq pkgs.ripgrep ]; } |