all repos — nixfiles @ 767a36b4372f5a54afeef8ec98524ffeb50cdbeb

System and user configuration, managed by nix and home-manager

music-management: install beets-alternatives
Alan Pearce alan@alanpearce.eu
Mon, 06 Mar 2023 10:33:06 +0100
commit

767a36b4372f5a54afeef8ec98524ffeb50cdbeb

parent

222b0f4972d00ee635a3541fafc61123fb1d609a

1 files changed, 10 insertions(+), 1 deletions(-)

jump to
M user/settings/music-management.nixuser/settings/music-management.nix
@@ -4,6 +4,15 @@ pkgs,   ...
 }: {
   home.packages = with pkgs; [
-    beets
+    (beets.override {
+      pluginOverrides = {
+        alternatives = {
+          enable = true;
+          propagatedBuildInputs = [
+            beetsPackages.alternatives
+          ];
+        };
+      };
+    })
   ];
 }