28 lines
690 B
Nix
28 lines
690 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
|
|
healthchecks.http.navidrome = {
|
|
#url = "${config.networking.hostName}.wg0:${toString config.services.navidrome.settings.Port}/app/#/login";
|
|
url = "${
|
|
config.clan.core.facts.services.wireguard_ip.public."wireguard.wg0.ip".value
|
|
}:${toString config.services.navidrome.settings.Port}/app/#/login";
|
|
expectedContent = "Navidrome";
|
|
};
|
|
|
|
healthchecks.closed.retiolum.ports.navidrome = [ config.services.navidrome.settings.Port ];
|
|
|
|
services.navidrome = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
group = "media";
|
|
user = "media";
|
|
settings.Address = "0.0.0.0";
|
|
settings.MusicFolder = "/media/arr/lidarr";
|
|
};
|
|
|
|
}
|