about summary refs log tree commit diff stats
path: root/modules/by-name/mp/mpd/module.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-24 18:43:53 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-24 18:43:53 +0100
commitaa3c4e6f139f63ac55529520dd28f0970aec6f1d (patch)
tree89f58d7a102ae0a75f7009a1fb8319219297a5a2 /modules/by-name/mp/mpd/module.nix
parentRevert "module/libvirt: Temporarily enable usb pass through for vms" (diff)
downloadnixos-config-aa3c4e6f139f63ac55529520dd28f0970aec6f1d.zip
module/mpd: Set-up a sticker file prime
That can be used to save meta-data from clients there.
Diffstat (limited to '')
-rw-r--r--modules/by-name/mp/mpd/module.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/by-name/mp/mpd/module.nix b/modules/by-name/mp/mpd/module.nix
index b7c7ab5a..37c648c6 100644
--- a/modules/by-name/mp/mpd/module.nix
+++ b/modules/by-name/mp/mpd/module.nix
@@ -71,6 +71,7 @@ in {
 
         extraConfig = ''
           metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc,comment"
+
           # Updated by the beets `mpdupdate` plugin
           auto_update "no"
 
@@ -82,6 +83,8 @@ in {
           replaygain "track"
           replaygain_limit "yes"
 
+          sticker_file "${cfg.directories.data}/sticker.sql"
+
           #database {
           #       plugin "simple"
           #       path "~/.local/share/mpd/db