organize packages

This commit is contained in:
4DBug committed 2026-03-03 12:08:01 -06:00
1 parent 60805bcace
commit a21805e59b
42 files changed
+320 -266

No files matched your search

+53
View File
@@ -0,0 +1,53 @@
{
den.aspects.beets = {
homeManager = { pkgs, ... }: {
home = {
packages = with pkgs; [
beets
ffmpeg
chromaprint
];
file.".config/beets/config.yaml".text = ''
library: ~/.local/share/beets/library.db
directory: ~/Music
import:
write: true
copy: true
plugins:
- convert
- fetchart
- embedart
- fromfilename
- chroma
- smartplaylist
paths:
default: $artist/$album/$track - $title
convert:
auto: true
format: opus
formats:
opus: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest
dest: /home/bug/Music
fetchart:
auto: yes
ifempty: yes
art_filename: folder
embedart:
auto: yes
smartplaylist:
playlist_dir: ~/Music/playlists
relative_to: library
output: extm3u
'';
};
};
};
}