aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home/conf/beets/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index ef969dc0..84f8618d 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -52,7 +52,14 @@
force = true;
};
hook = {
- hooks = [];
+ hooks = [
+ {
+ # Also generate the replaygain for the album variant (so selecting between
+ # track and album becomes possible)
+ event = "import";
+ command = "beet replaygain --album";
+ }
+ ];
};
replaygain = {
auto = true;