feat: update music dav server

feat/kile-v2
Ricard Illa 2022-03-15 08:20:40 +01:00
parent ff5624d98c
commit 63c45fab32
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let musicDir = "https://dav.monotremata.xyz/music"; let master-host = "music.monotremata.xyz";
in { in {
imports = [ ./common.nix ]; imports = [ ./common.nix ];
home.packages = [ pkgs.mpc_cli ]; home.packages = [ pkgs.mpc_cli ];
services.mpd = { services.mpd = {
enable = true; enable = true;
musicDirectory = musicDir; musicDirectory = "https://${master-host}";
dbFile = null; dbFile = null;
network = { network = {
listenAddress = "any"; listenAddress = "any";
@ -25,7 +25,7 @@ in {
} }
database { database {
plugin "proxy" plugin "proxy"
host "narwhal" host "${master-host}"
port "6600" port "6600"
} }
''; '';