about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/beets
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 16:35:56 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 16:35:56 +0100
commit8fd8da0cba402466fcdfbc23cd87eb730765a99f (patch)
treeb453d4131e480e9bfb32b483f9082223db0ef419 /modules/home.legacy/conf/beets
parentfix(modules/legacy/conf/neomutt): Upload changed imap boxes again (diff)
downloadnixos-config-8fd8da0cba402466fcdfbc23cd87eb730765a99f.zip
fix(modules/legacy/conf/beets): Disable the xtractor plugin
This plugin never worked (because of some issue with gaia), but now it
also stopped to build.
Diffstat (limited to 'modules/home.legacy/conf/beets')
-rw-r--r--modules/home.legacy/conf/beets/default.nix19
-rw-r--r--modules/home.legacy/conf/beets/plugins.nix2
-rw-r--r--modules/home.legacy/conf/beets/plugins/default.nix2
3 files changed, 13 insertions, 10 deletions
diff --git a/modules/home.legacy/conf/beets/default.nix b/modules/home.legacy/conf/beets/default.nix
index 8d6277b7..e0421a9d 100644
--- a/modules/home.legacy/conf/beets/default.nix
+++ b/modules/home.legacy/conf/beets/default.nix
@@ -5,6 +5,16 @@
   ...
 }: let
   plugins = import ./plugins.nix {};
+
+  # TODO: Enable xtractor again <2025-03-29>
+  # package = pkgs.beets.override {
+  #   pluginOverrides = {
+  #     xtractor = {
+  #       enable = true;
+  #       propagatedBuildInputs = [pkgs.beetsExtraPlugins.xtractor];
+  #     };
+  #   };
+  package = pkgs.beets;
 in {
   imports = [
     ./plugins
@@ -12,14 +22,7 @@ in {
 
   programs.beets = {
     enable = true;
-    package = pkgs.beets.override {
-      pluginOverrides = {
-        xtractor = {
-          enable = true;
-          propagatedBuildInputs = [pkgs.beetsExtraPlugins.xtractor];
-        };
-      };
-    };
+    inherit package;
 
     settings = {
       library = "${config.xdg.dataHome}/beets/library.db";
diff --git a/modules/home.legacy/conf/beets/plugins.nix b/modules/home.legacy/conf/beets/plugins.nix
index bea2fefe..9500364b 100644
--- a/modules/home.legacy/conf/beets/plugins.nix
+++ b/modules/home.legacy/conf/beets/plugins.nix
@@ -12,7 +12,7 @@
   "mbsubmit"
 
   # Extract things from the music file
-  "xtractor"
+  # "xtractor"
 
   # Calculate replay gain
   "replaygain"
diff --git a/modules/home.legacy/conf/beets/plugins/default.nix b/modules/home.legacy/conf/beets/plugins/default.nix
index 3bea5ea8..a0b44e3c 100644
--- a/modules/home.legacy/conf/beets/plugins/default.nix
+++ b/modules/home.legacy/conf/beets/plugins/default.nix
@@ -11,6 +11,6 @@
     ./play
     ./replaygain
     ./smartplaylist
-    ./xtractor
+    # ./xtractor
   ];
 }