Merge pull request #5276 from abbradar/nginx-types

nixos/nginx: add more types

+3
+3
nixos/modules/services/web-servers/nginx/default.nix
··· 23 services.nginx = { 24 enable = mkOption { 25 default = false; 26 description = " 27 Enable the nginx Web Server. 28 "; ··· 70 }; 71 72 user = mkOption { 73 default = "nginx"; 74 description = "User account under which nginx runs."; 75 }; 76 77 group = mkOption { 78 default = "nginx"; 79 description = "Group account under which nginx runs."; 80 };
··· 23 services.nginx = { 24 enable = mkOption { 25 default = false; 26 + type = types.bool; 27 description = " 28 Enable the nginx Web Server. 29 "; ··· 71 }; 72 73 user = mkOption { 74 + type = types.str; 75 default = "nginx"; 76 description = "User account under which nginx runs."; 77 }; 78 79 group = mkOption { 80 + type = types.str; 81 default = "nginx"; 82 description = "Group account under which nginx runs."; 83 };