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 [
./modules/stylix.nix
./modules/beets.nix
#./modules/firefox.nix
]);

View File

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