tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
fix: beets config
devins.page
1 month ago
c83b39f3
f8666e14
+10
-6
1 changed file
expand all
collapse all
unified
split
hosts
bluepill
modules
beets.nix
+10
-6
hosts/bluepill/modules/beets.nix
···
1
1
-
{pkgs, ...}: {
1
1
+
{pkgs, ...}: let
2
2
+
ffmpegwithFdkAac = pkgs.ffmpeg.override {
3
3
+
withFdkAac = true;
4
4
+
withUnfree = true;
5
5
+
};
6
6
+
in {
2
7
environment.systemPackages = with pkgs; [
3
8
beets
4
4
-
(ffmpeg.override {
5
5
-
withFdkAac = true;
6
6
-
withUnfree = true;
7
7
-
})
9
9
+
ffmpegwithFdkAac
8
10
imagemagick
9
11
];
10
12
···
27
29
format: aac
28
30
formats:
29
31
aac:
30
30
-
command: /nix/store/09zrq0i5g69gwjan1b4j6np6xbhzp415-system-path/bin/ffmpeg -i $source -y -vn -c:a libfdk_aac -vbr 5 -ar 44100 $dest
32
32
+
command: ${ffmpegwithFdkAac}/bin/ffmpeg -i $source -y -vn -c:a libfdk_aac -vbr 5 -ar 44100 $dest
31
33
extension: m4a
32
34
flac:
33
35
command: ffmpeg -i $source -ar 44100 -sample_fmt s16 -y $dest
···
42
44
replaygain:
43
45
backend: ffmpeg
44
46
'';
47
47
+
48
48
+
environment.variables.BEETS_CONFIG = "/etc/beets/config.yaml";
45
49
}