From ac93023f351eae3b6186ac140346ee3d2105f1b6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Feb 2007 11:57:18 +0000 Subject: [PATCH] * Pass userCreationDomain. svn path=/nixos/trunk/; revision=7891 --- system/options.nix | 11 +++++++++++ upstart-jobs/httpd.nix | 1 + 2 files changed, 12 insertions(+) diff --git a/system/options.nix b/system/options.nix index 6c0322aa70c..1a2c80f3403 100644 --- a/system/options.nix +++ b/system/options.nix @@ -537,6 +537,17 @@ } + { + name = ["services" "httpd" "subservices" "subversion" "userCreationDomain"]; + example = "example.org"; + description = " + The domain from which user creation is allowed. A client can + only create a new user account if its IP address resolves to + this domain. + "; + } + + { name = ["services" "httpd" "subservices" "subversion" "autoVersioning"]; default = false; diff --git a/upstart-jobs/httpd.nix b/upstart-jobs/httpd.nix index e9434d7f0e8..c930dcb3caa 100644 --- a/upstart-jobs/httpd.nix +++ b/upstart-jobs/httpd.nix @@ -48,6 +48,7 @@ let notificationSender = getCfgSvn "notificationSender"; autoVersioning = getCfgSvn "autoVersioning"; + userCreationDomain = getCfgSvn "userCreationDomain"; inherit pkgs; })