From 63c45fab3274a5a441f26b01fd3af4c47cdf53f2 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 15 Mar 2022 08:20:40 +0100 Subject: [PATCH] feat: update music dav server --- home/mpd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/mpd/default.nix b/home/mpd/default.nix index e553151..62d5977 100644 --- a/home/mpd/default.nix +++ b/home/mpd/default.nix @@ -1,12 +1,12 @@ { config, pkgs, ... }: -let musicDir = "https://dav.monotremata.xyz/music"; +let master-host = "music.monotremata.xyz"; in { imports = [ ./common.nix ]; home.packages = [ pkgs.mpc_cli ]; services.mpd = { enable = true; - musicDirectory = musicDir; + musicDirectory = "https://${master-host}"; dbFile = null; network = { listenAddress = "any"; @@ -25,7 +25,7 @@ in { } database { plugin "proxy" - host "narwhal" + host "${master-host}" port "6600" } '';