feat: update music dav server
parent
ff5624d98c
commit
63c45fab32
|
@ -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"
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue