|
152 | 152 |
|
153 | 153 | permissions = mkOption { |
154 | 154 | type = types.str; |
155 | | - default = "755"; |
| 155 | + default = "775"; |
156 | 156 | description = "File permissions for downloaded files"; |
157 | 157 | }; |
158 | 158 |
|
| 159 | + propagation_delay = mkOption { |
| 160 | + type = types.int; |
| 161 | + default = 0; |
| 162 | + description = '' |
| 163 | + Posts will be pause until they are at least this age. |
| 164 | + Setting job priority to Force will skip the delay. |
| 165 | + ''; |
| 166 | + }; |
| 167 | + |
159 | 168 | download_dir = mkOption { |
160 | 169 | type = types.str; |
161 | 170 | default = "${cfg.downloadsDir}/incomplete"; |
|
206 | 215 |
|
207 | 216 | ignore_samples = mkOption { |
208 | 217 | type = types.bool; |
209 | | - default = true; |
| 218 | + default = false; |
210 | 219 | description = "Ignore sample files"; |
211 | 220 | }; |
212 | 221 |
|
|
248 | 257 |
|
249 | 258 | enable_all_par = mkOption { |
250 | 259 | type = types.bool; |
251 | | - default = true; |
| 260 | + default = false; |
252 | 261 | description = "Download all par2 files"; |
253 | 262 | }; |
254 | 263 |
|
255 | 264 | action_on_unwanted_extensions = mkOption { |
256 | 265 | type = types.int; |
257 | | - default = 2; |
| 266 | + default = 1; |
258 | 267 | description = "Action on unwanted extensions (0=None, 1=Abort, 2=Delete)"; |
259 | 268 | }; |
260 | 269 |
|
| 270 | + no_smart_dupes = mkOption { |
| 271 | + type = types.int; |
| 272 | + default = 4; |
| 273 | + description = "Smart duplicate detection"; |
| 274 | + }; |
| 275 | + |
| 276 | + auto_sort = mkOption { |
| 277 | + type = types.str; |
| 278 | + default = ""; |
| 279 | + description = "Automatically sort queue"; |
| 280 | + }; |
| 281 | + |
| 282 | + fail_hopeless_jobs = mkOption { |
| 283 | + type = types.bool; |
| 284 | + default = true; |
| 285 | + description = "Abort jobs that cannot be completed"; |
| 286 | + }; |
| 287 | + |
| 288 | + pause_on_pwrar = mkOption { |
| 289 | + type = types.int; |
| 290 | + default = 1; |
| 291 | + description = "Action when encrypted RAR is downloaded"; |
| 292 | + }; |
| 293 | + |
| 294 | + unwanted_extensions = mkOption { |
| 295 | + type = types.str; |
| 296 | + default = ""; |
| 297 | + description = "Unwanted extensions"; |
| 298 | + }; |
| 299 | + |
| 300 | + unwanted_extensions_mode = mkOption { |
| 301 | + type = types.int; |
| 302 | + default = 0; |
| 303 | + description = "Unwanted extension mode (0=Blacklist, 1=Whitelist"; |
| 304 | + }; |
| 305 | + |
| 306 | + safe_postproc = mkOption { |
| 307 | + type = types.bool; |
| 308 | + default = true; |
| 309 | + description = "Post process only verified jobs"; |
| 310 | + }; |
| 311 | + |
| 312 | + sfv_check = mkOption { |
| 313 | + type = types.bool; |
| 314 | + default = true; |
| 315 | + description = "Enable SFV-based checks"; |
| 316 | + }; |
| 317 | + |
| 318 | + enable_recursive = mkOption { |
| 319 | + type = types.bool; |
| 320 | + default = true; |
| 321 | + description = "Enable recursive unpacking"; |
| 322 | + }; |
| 323 | + |
| 324 | + deobfuscate_final_filenames = mkOption { |
| 325 | + type = types.bool; |
| 326 | + default = true; |
| 327 | + description = "Deobfuscate final filenames"; |
| 328 | + }; |
| 329 | + |
| 330 | + flat_unpack = mkOption { |
| 331 | + type = types.bool; |
| 332 | + default = true; |
| 333 | + description = "Ignore any folders inside archives"; |
| 334 | + }; |
| 335 | + |
261 | 336 | check_new_rel = mkOption { |
262 | 337 | type = types.bool; |
263 | 338 | default = true; |
|
0 commit comments