nixos-config/machines/chungus/media-navidrome.nix

26 lines
520 B
Nix
Raw Normal View History

2024-08-29 03:26:04 +02:00
{
config,
lib,
pkgs,
...
}:
2024-08-06 16:30:47 +02:00
{
healthchecks.http.navidrome = {
url = "${config.networking.hostName}.wg0:${toString config.services.navidrome.settings.Port}/app/#/login";
expectedContent = "Navidrome";
};
healthchecks.closed.retiolum.ports.navidrome = [ config.services.navidrome.settings.Port ];
2024-08-06 16:30:47 +02:00
services.navidrome = {
enable = true;
openFirewall = true;
group = "media";
user = "media";
settings.Address = "0.0.0.0";
settings.MusicFolder = "/media/arr/lidarr";
};
}