summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2014-12-10 04:40:00 +0300
committerNikolay Amiantov <ab@fmap.me>2014-12-10 04:45:10 +0300
commitd0773dae54a5d62614e6f9c9b7186499c688ef17 (patch)
tree68e4faefd76bf0b9ee88a4e284dda375ef161fd6 /nixos
parent743b47579bd29779de45459efa28120e98b834e1 (diff)
downloadnixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar.gz
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar.bz2
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar.lz
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar.xz
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.tar.zst
nixlib-d0773dae54a5d62614e6f9c9b7186499c688ef17.zip
nixos/nginx: add more types
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-servers/nginx/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix
index 7c2d3a42973a..0af1b58b7cae 100644
--- a/nixos/modules/services/web-servers/nginx/default.nix
+++ b/nixos/modules/services/web-servers/nginx/default.nix
@@ -23,6 +23,7 @@ in
     services.nginx = {
       enable = mkOption {
         default = false;
+        type = types.bool;
         description = "
           Enable the nginx Web Server.
         ";
@@ -70,11 +71,13 @@ in
       };
 
       user = mkOption {
+        type = types.str;
         default = "nginx";
         description = "User account under which nginx runs.";
       };
 
       group = mkOption {
+        type = types.str;
         default = "nginx";
         description = "Group account under which nginx runs.";
       };