mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
nixos/nginx: add more types
This commit is contained in:
parent
743b47579b
commit
d0773dae54
@ -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.";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user