about summary refs log tree commit diff stats
path: root/modules/home/conf/beets/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 02:34:43 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 13:22:13 +0200
commit8f45c86aa7647ad5491ef169cbea871301c5651f (patch)
treed308dd0e9788761d3fcd1921ba2752d6bd12e817 /modules/home/conf/beets/default.nix
parentfeat(home/beets): Remove the deezer plugin (it was a mere crutch) (diff)
downloadnixos-config-8f45c86aa7647ad5491ef169cbea871301c5651f.tar.gz
nixos-config-8f45c86aa7647ad5491ef169cbea871301c5651f.zip
fix(home/beets): Specify replacement schema
Diffstat (limited to 'modules/home/conf/beets/default.nix')
-rw-r--r--modules/home/conf/beets/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index 88073143..9b88db88 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -11,6 +11,7 @@
         beatport.enable = true;
       };
     };
+
     settings = {
       library = "${config.xdg.dataHome}/beets/library.db";
       art_filename = "cover";
@@ -18,6 +19,11 @@
       ui = {
         color = true;
       };
+
+      include = [
+        "./replace_override.yaml"
+      ];
+
       import = {
         # move, instead of copying or linking the files
         copy = false;
@@ -230,6 +236,8 @@
     };
   };
 
+  xdg.configFile."beets/replace_override.yaml".source = ./replace_override.yaml;
+
   # Use the json formatter instead of the YAML one, as the YAML formatter mangles the
   # longer python inline strings.
   # YAML is a superset of JSON.