diff options
author | Akshay <[email protected]> | 2024-03-29 18:11:13 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-03-29 18:11:13 +0000 |
commit | e3b3026dacd8df6d45bc8517cd766782a35e6afe (patch) | |
tree | e9278d920ed290294392a651ba85969beb9a5ae1 /hosts/mantis | |
parent | 4c51dce5a19eb2e5a8f8deb5ae92ebc1399ffe9b (diff) |
.
Diffstat (limited to 'hosts/mantis')
-rw-r--r-- | hosts/mantis/configuration.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/mantis/configuration.nix b/hosts/mantis/configuration.nix index 5f0a0de..f1003aa 100644 --- a/hosts/mantis/configuration.nix +++ b/hosts/mantis/configuration.nix | |||
@@ -119,6 +119,7 @@ | |||
119 | openFirewall = true; | 119 | openFirewall = true; |
120 | openRPCPort = true; | 120 | openRPCPort = true; |
121 | group = "torrent"; | 121 | group = "torrent"; |
122 | user = "torrent"; | ||
122 | settings = { | 123 | settings = { |
123 | download-dir = "/torrents"; | 124 | download-dir = "/torrents"; |
124 | incomplete-dir = "/.incomplete"; | 125 | incomplete-dir = "/.incomplete"; |
@@ -137,6 +138,7 @@ | |||
137 | enable = true; | 138 | enable = true; |
138 | openFirewall = true; | 139 | openFirewall = true; |
139 | group = "torrent"; | 140 | group = "torrent"; |
141 | user = "torrent"; | ||
140 | }; | 142 | }; |
141 | services.nginx.virtualHosts."sonarr.mantis" = { | 143 | services.nginx.virtualHosts."sonarr.mantis" = { |
142 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 144 | listen = [{ port = 80; addr = "0.0.0.0"; }]; |
@@ -149,6 +151,7 @@ | |||
149 | enable = true; | 151 | enable = true; |
150 | openFirewall = true; | 152 | openFirewall = true; |
151 | group = "torrent"; | 153 | group = "torrent"; |
154 | user = "torrent"; | ||
152 | }; | 155 | }; |
153 | services.nginx.virtualHosts."radarr.mantis" = { | 156 | services.nginx.virtualHosts."radarr.mantis" = { |
154 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 157 | listen = [{ port = 80; addr = "0.0.0.0"; }]; |
@@ -161,6 +164,7 @@ | |||
161 | enable = true; | 164 | enable = true; |
162 | openFirewall = true; | 165 | openFirewall = true; |
163 | group = "torrent"; | 166 | group = "torrent"; |
167 | user = "torrent"; | ||
164 | }; | 168 | }; |
165 | services.nginx.virtualHosts."bazarr.mantis" = { | 169 | services.nginx.virtualHosts."bazarr.mantis" = { |
166 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 170 | listen = [{ port = 80; addr = "0.0.0.0"; }]; |
@@ -173,6 +177,7 @@ | |||
173 | enable = true; | 177 | enable = true; |
174 | openFirewall = true; | 178 | openFirewall = true; |
175 | group = "torrent"; | 179 | group = "torrent"; |
180 | user = "torrent"; | ||
176 | }; | 181 | }; |
177 | services.nginx.virtualHosts."jackett.mantis" = { | 182 | services.nginx.virtualHosts."jackett.mantis" = { |
178 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 183 | listen = [{ port = 80; addr = "0.0.0.0"; }]; |
@@ -185,6 +190,7 @@ | |||
185 | enable = true; | 190 | enable = true; |
186 | openFirewall = true; | 191 | openFirewall = true; |
187 | group = "torrent"; | 192 | group = "torrent"; |
193 | user = "torrent"; | ||
188 | }; | 194 | }; |
189 | services.nginx.virtualHosts."lidarr.mantis" = { | 195 | services.nginx.virtualHosts."lidarr.mantis" = { |
190 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 196 | listen = [{ port = 80; addr = "0.0.0.0"; }]; |