diff options
Diffstat (limited to 'hosts')
-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; |