From 460c13b3e4b3272324cc67531eb80db300de42e2 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 18 Mar 2024 21:28:58 +0000 Subject: navidrome --- hosts/mantis/configuration.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'hosts/mantis') diff --git a/hosts/mantis/configuration.nix b/hosts/mantis/configuration.nix index 84ea0d9..8f88806 100644 --- a/hosts/mantis/configuration.nix +++ b/hosts/mantis/configuration.nix @@ -93,6 +93,25 @@ }; }; + services.navidrome = { + enable = true; + openFirewall = true; + settings = { + MusicFolder = "/servarr/lidarr/"; + DataFolder = "/etc/navidrome/data"; + CacheFolder = "/etc/navidrome/cache"; + AuthRequestLimit = 0; + EnableTranscodingConfig = true; + }; + }; + services.nginx.virtualHosts."music.mantis" = { + listen = [{ port = 80; addr = "0.0.0.0"; }]; + locations."/" = { + proxyPass = "http://127.0.0.1:4533"; + proxyWebsockets = true; + }; + }; + services.transmission = { enable = true; openFirewall = true; -- cgit v1.2.3