diff options
author | Akshay <[email protected]> | 2024-03-18 21:28:58 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-03-18 21:28:58 +0000 |
commit | 460c13b3e4b3272324cc67531eb80db300de42e2 (patch) | |
tree | 20afa9696c47a8c0379b0b8fdc7798a10bd6c130 | |
parent | 4fa4a8f24b574336f6360c3565a443c80e116763 (diff) |
navidrome
-rw-r--r-- | hosts/mantis/configuration.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ | |||
93 | }; | 93 | }; |
94 | }; | 94 | }; |
95 | 95 | ||
96 | services.navidrome = { | ||
97 | enable = true; | ||
98 | openFirewall = true; | ||
99 | settings = { | ||
100 | MusicFolder = "/servarr/lidarr/"; | ||
101 | DataFolder = "/etc/navidrome/data"; | ||
102 | CacheFolder = "/etc/navidrome/cache"; | ||
103 | AuthRequestLimit = 0; | ||
104 | EnableTranscodingConfig = true; | ||
105 | }; | ||
106 | }; | ||
107 | services.nginx.virtualHosts."music.mantis" = { | ||
108 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | ||
109 | locations."/" = { | ||
110 | proxyPass = "http://127.0.0.1:4533"; | ||
111 | proxyWebsockets = true; | ||
112 | }; | ||
113 | }; | ||
114 | |||
96 | services.transmission = { | 115 | services.transmission = { |
97 | enable = true; | 116 | enable = true; |
98 | openFirewall = true; | 117 | openFirewall = true; |