diff --git a/home/mpd/default.nix b/home/mpd/default.nix index 7742f15..f7a290b 100644 --- a/home/mpd/default.nix +++ b/home/mpd/default.nix @@ -1,12 +1,13 @@ { config, pkgs, ... }: -let musicDir = "${config.home.homeDirectory}/Music"; +let musicDir = "https://dav.monotremata.xyz/music"; in { imports = [ ./common.nix ]; home.packages = [ pkgs.mpc_cli ]; services.mpd = { enable = true; musicDirectory = musicDir; + dbFile = null; network = { listenAddress = "any"; port = 6600; @@ -22,6 +23,11 @@ in { path "/tmp/mpd.fifo" format "44100:16:2" } + database { + plugin "proxy" + host "narwhal" + port "6600" + } ''; }; } diff --git a/trantor.nix b/trantor.nix index dd3c600..ea08aae 100644 --- a/trantor.nix +++ b/trantor.nix @@ -25,12 +25,12 @@ in { fsType = "vfat"; }; - "/home/rilla/Music" = { - device = "narwhal:/music"; - fsType = "nfs"; - options = - [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ]; - }; + #"/home/rilla/Music" = { + # device = "narwhal:/music"; + # fsType = "nfs"; + # options = + # [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ]; + #}; "/home/rilla/calibre" = { device = "narwhal:/calibre";