about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-08 10:08:58 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-08 10:08:58 +0200
commitf787702935b9ee8ae050f9e34bdc3b2853485806 (patch)
treeab1b590e6a3590aefa2dee4470bd9718a02d9ba8 /modules
parentfix(home/beets): Disable the `lastgenre` plugin (diff)
downloadnixos-config-f787702935b9ee8ae050f9e34bdc3b2853485806.tar.gz
nixos-config-f787702935b9ee8ae050f9e34bdc3b2853485806.zip
fix(home/beets): Split the replay gain post-import hook
The `&&` does not work, thus split the hook into two separate list
entries.
Diffstat (limited to '')
-rw-r--r--modules/home/conf/beets/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index 5f3a141c..4348257d 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -46,7 +46,12 @@
           {
             # Called, when `beet import` finishes
             event = "import";
-            command = "echo 'Import finished. Starting to calculate replay gain..' && beet replaygain";
+            command = "echo 'Import finished. Starting to calculate replay gain..'";
+          }
+          {
+            # Called, when `beet import` finishes
+            event = "import";
+            command = "beet replaygain";
           }
         ];
       };