anchor.diff:        };
   
         user = mkOption {
  +        type = types.str;
           default = "tomcat";
           description = "User account under which Apache Tomcat runs.";
         };
   
         group = mkOption {
  +        type = types.str;
           default = "tomcat";
           description = "Group account under which Apache Tomcat runs.";
         };
   
         javaOpts = mkOption {
  +        type = types.either (types.listOf types.str) types.str;
           default = "";
           description = "Parameters to pass to the Java Virtual Machine which spawns Apache Tomcat";
         };
   
         catalinaOpts = mkOption {
  +        type = types.either (types.listOf types.str) types.str;
           default = "";
           description = "Parameters to pass to the Java Virtual Machine which spawns the Catalina servlet container";
         };
   
         sharedLibs = mkOption {
  +        type = types.listOf types.str;
           default = [];
           description = "List containing JAR files or directories with JAR files which are libraries shared by the web applications";
         };
   
         serverXml = mkOption {
  +        type = types.lines;
           default = "";
           description = "
             Verbatim server.xml configuration.
  -          This is mutualyl exclusive with the virtualHosts options.
  +          This is mutually exclusive with the virtualHosts options.
           ";
         };
   
         commonLibs = mkOption {
  +        type = types.listOf types.str;
           default = [];
           description = "List containing JAR files or directories with JAR files which are libraries shared by the web applications and the servlet container";
         };
  
positive.code:   options = {
  
      services.tomcat = {
  
        enable = mkOption {
          default = false;
          description = "Whether to enable Apache Tomcat";
        };
  
        package = mkOption {
          type = types.package;
  
negative.code:       };
  
        virtualHosts = mkOption {
          type = types.listOf (types.submodule {
            options = {
              name = mkOption {
                type = types.listOf types.str;
                description = "name of the virtualhost";
                default = [];
              };
            };
          });
          default = [];
          description = "List consisting of a virtual host name and a list of web applications to deploy on each virtual host";
        };
  
        logPerVirtualHost = mkOption {
          type = types.bool;
          default = false;
          description = "Whether to enable logging per virtual host.";
        };
  