diff --git a/hosts/hetzner-arm/containers/music/profiles/mpd.nix b/hosts/hetzner-arm/containers/music/profiles/mpd.nix index 92f3cb7..0f9abb7 100644 --- a/hosts/hetzner-arm/containers/music/profiles/mpd.nix +++ b/hosts/hetzner-arm/containers/music/profiles/mpd.nix @@ -34,6 +34,7 @@ in { enable = true; network.listenAddress = "0.0.0.0"; musicDirectory = "nfs://127.0.0.1:2049/?version=3"; + dbFile = null; credentials = [ { passwordFile = "${secrets.mpd_control_password.path}"; @@ -53,6 +54,10 @@ in { quality "very high" threads "0" } + database { + plugin "simple" + path "/var/lib/mpd/db" + } '' + concatStringsSep "\n" (forEach ["low" "medium" "high"] (quality: let bitrates = {