aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/mp/mpd/module.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/mp/mpd/module.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/by-name/mp/mpd/module.nix b/modules/by-name/mp/mpd/module.nix
index b7c7ab5a..474d81c4 100644
--- a/modules/by-name/mp/mpd/module.nix
+++ b/modules/by-name/mp/mpd/module.nix
@@ -62,6 +62,11 @@ in {
services.mpd = {
enable = true;
+
+ package = pkgs.mpd.override {
+ ffmpeg = pkgs.ffmpeg-headless;
+ };
+
network = {
listenAddress = socketPath;
};
@@ -71,6 +76,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 +88,8 @@ in {
replaygain "track"
replaygain_limit "yes"
+ sticker_file "${cfg.directories.data}/sticker.sql"
+
#database {
# plugin "simple"
# path "~/.local/share/mpd/db