about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/beets/plugins/inline/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home.legacy/conf/beets/plugins/inline/default.nix (renamed from modules/home.legacy/conf/iamb/default.nix)8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/home.legacy/conf/iamb/default.nix b/modules/home.legacy/conf/beets/plugins/inline/default.nix
index 764e2efc..564d5b4c 100644
--- a/modules/home.legacy/conf/iamb/default.nix
+++ b/modules/home.legacy/conf/beets/plugins/inline/default.nix
@@ -8,5 +8,11 @@
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 {...}: {
-  xdg.configFile."iamb/config.json".source = ./config.json;
+  programs.beets.settings.item_fields = {
+    primary_artist =
+      # python
+      ''
+        albumartists[0]
+      '';
+  };
 }