push
This commit is contained in:
2
home.nix
2
home.nix
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
] else [
|
] else [
|
||||||
./modules/stylix.nix
|
./modules/stylix.nix
|
||||||
|
./modules/beets.nix
|
||||||
|
|
||||||
#./modules/firefox.nix
|
#./modules/firefox.nix
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user