anchor.diff:      services.dbus.enable = true;
       services.dbus.packages = [ pkgs.disnix ];
   
  +    services.tomcat.enable = cfg.useWebServiceInterface;
  +    services.tomcat.javaOpts = "${optionalString cfg.useWebServiceInterface "-Djava.library.path=${pkgs.libmatthew_java}/lib/jni"} ";
  +    services.tomcat.sharedLibs = []
  +                                 ++ optional cfg.useWebServiceInterface "${pkgs.DisnixWebService}/share/java/DisnixConnection.jar"
  +				 ++ optional cfg.useWebServiceInterface "${pkgs.dbus_java}/share/java/dbus.jar";
  +    services.tomcat.webapps = [] ++ optional cfg.useWebServiceInterface pkgs.DisnixWebService;
  +
       users.extraGroups = singleton
         { name = "disnix";
           gid = config.ids.gids.disnix;
  
positive.code:       enable = mkOption {
          default = false;
          description = "Whether to enable Disnix";
        };        
  
      };
      
  
negative.code: let
  
    cfg = config.services.disnix;
    
    disnix_activation_scripts = pkgs.disnix_activation_scripts.override (origArgs: {
      enableApacheWebApplication = config.services.httpd.enable;
      enableAxis2WebService = config.services.tomcat.axis2.enable;
      enableEjabberdDump = config.services.ejabberd.enable;
      enableMySQLDatabase = config.services.mysql.enable;
      enableTomcatWebApplication = config.services.tomcat.enable;
    });
  in
  
  {
  