anchor.diff:          description = "A list of paths containing additional modules that are added to the search folders";
           default = [];
         };
  +
  +      enableLegacyModules = mkOption {
  +        type = types.bool;
  +        default = true;
  +        description = "Whether to enable Dysnomia legacy process and wrapper modules";
  +      };
       };
     };
   
  
positive.code: 
      environment.systemPackages = [ cfg.package ];
  
      dysnomia.package = pkgs.dysnomia.override (origArgs: {
        enableApacheWebApplication = config.services.httpd.enable;
        enableAxis2WebService = config.services.tomcat.axis2.enable;
        enableEjabberdDump = config.services.ejabberd.enable;
        enableMySQLDatabase = config.services.mysql.enable;
        enablePostgreSQLDatabase = config.services.postgresql.enable;
        enableSubversionRepository = config.services.svnserve.enable;
        enableTomcatWebApplication = config.services.tomcat.enable;
        enableMongoDatabase = config.services.mongodb.enable;
        enableInfluxDatabase = config.services.influxdb.enable;
      });
  
      dysnomia.properties = {
        hostname = config.networking.hostName;
        inherit (config.nixpkgs.localSystem) system;
  
        supportedTypes = (import "${pkgs.stdenv.mkDerivation {
          name = "supportedtypes";
          buildCommand = ''
            ( echo -n "[ "
              cd ${cfg.package}/libexec/dysnomia
              for i in *
              do
                  echo -n "\"$i\" "
              done
              echo -n " ]") > $out
          '';
        }}");
      };
  
      dysnomia.containers = lib.recursiveUpdate ({
  
negative.code:       ) (builtins.attrNames cfg.components)}
      '';
    };
  
    dysnomiaFlags = {
      enableApacheWebApplication = config.services.httpd.enable;
      enableAxis2WebService = config.services.tomcat.axis2.enable;
      enableDockerContainer = config.virtualisation.docker.enable;
      enableEjabberdDump = config.services.ejabberd.enable;
      enableMySQLDatabase = config.services.mysql.enable;
      enablePostgreSQLDatabase = config.services.postgresql.enable;
      enableTomcatWebApplication = config.services.tomcat.enable;
      enableMongoDatabase = config.services.mongodb.enable;
      enableSubversionRepository = config.services.svnserve.enable;
      enableInfluxDatabase = config.services.influxdb.enable;
    };
  in
  {
    options = {
  