nixos/nginx: add more types

This commit is contained in:
Nikolay Amiantov 2014-12-10 04:40:00 +03:00
parent 743b47579b
commit d0773dae54

View File

@ -23,6 +23,7 @@ in
services.nginx = { services.nginx = {
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.bool;
description = " description = "
Enable the nginx Web Server. Enable the nginx Web Server.
"; ";
@ -70,11 +71,13 @@ in
}; };
user = mkOption { user = mkOption {
type = types.str;
default = "nginx"; default = "nginx";
description = "User account under which nginx runs."; description = "User account under which nginx runs.";
}; };
group = mkOption { group = mkOption {
type = types.str;
default = "nginx"; default = "nginx";
description = "Group account under which nginx runs."; description = "Group account under which nginx runs.";
}; };