This commit is contained in:
4DBug
2026-02-11 20:55:32 -06:00
parent 66230cbc4f
commit 2d430c1b3b
3 changed files with 16 additions and 7 deletions

View File

@@ -7,6 +7,8 @@
] else [ ] else [
./modules/stylix.nix ./modules/stylix.nix
./modules/beets.nix
#./modules/firefox.nix #./modules/firefox.nix
]); ]);

View File

@@ -4,6 +4,8 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
beets beets
ffmpeg
chromaprint
]; ];
file.".config/beets/config.yaml".text = '' file.".config/beets/config.yaml".text = ''
@@ -14,19 +16,24 @@
write: true write: true
copy: true copy: true
plugins: [convert fetchart embedart fromfilename chroma smartplaylist] plugins:
- convert
- fetchart
- embedart
- fromfilename
- chroma
- smartplaylist
paths: paths:
default: $artist/$album/$track default: $artist/$album/$track - $title
convert: convert:
auto: true auto: true
format: opus format: opus
formats: formats:
opus: opus: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest
command: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest dest: /home/bug/Music
extension: opus
dest: ~/Music
fetchart: fetchart:
auto: yes auto: yes