navidrome: migrate as module

This commit is contained in:
Felix Buehler 2022-11-09 22:17:30 +01:00
parent 2251c22311
commit c8cf20c2ab
2 changed files with 67 additions and 25 deletions

View file

@ -1,25 +0,0 @@
{ config, pkgs, ... }:
{
services.navidrome = {
enable = true;
settings = {
Address = "0.0.0.0";
MusicFolder = "/srv/data/music";
};
};
networking.firewall.allowedTCPPorts = [ 4533 ];
systemd.services.navidrome = {
after = [ "network-online.target" ];
#unitConfig.RequiresMountsFor = [ "/storage" ];
};
webapps.apps.navidrome = {
dashboard = {
name = "Navidrome";
category = "media";
icon = "music";
link = "https://music.buehler.rocks";
};
};
}