aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-25 11:50:55 +0200
committerKatharina Fey <kookie@spacekookie.de>2019-10-25 11:50:55 +0200
commit4b683cc8c2df34c7f5b079b4868daa4b8ec20f77 (patch)
tree8fc4e3fbfab1a8dab772d7157cc8625f8420eac7 /nixpkgs/nixos/modules
parentc4a8e2bf192fed2fb97d3fb9baaea3d3ce9af82e (diff)
nixos/prosody: Adding http_upload module option
Diffstat (limited to 'nixpkgs/nixos/modules')
-rw-r--r--nixpkgs/nixos/modules/services/networking/prosody.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/prosody.nix b/nixpkgs/nixos/modules/services/networking/prosody.nix
index 7a503e71166..0fd84efc403 100644
--- a/nixpkgs/nixos/modules/services/networking/prosody.nix
+++ b/nixpkgs/nixos/modules/services/networking/prosody.nix
@@ -162,6 +162,12 @@ let
description = "Serve static files from a directory over HTTP";
};
+ http_upload = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Allows clients to upload files via HTTP requests";
+ };
+
# Other specific functionality
limits = mkOption {
type = types.bool;