anchor.diff:      services.tomcat.extraGroups = [ "disnix" ];
       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";
  +                                 ++ optional cfg.useWebServiceInterface "${pkgs.dbus_java}/share/java/dbus.jar";
       services.tomcat.webapps = optional cfg.useWebServiceInterface pkgs.DisnixWebService;
   
       users.extraGroups = singleton
  
positive.code: 
        useWebServiceInterface = mkOption {
          default = false;
  	description = "Whether to enable the DisnixWebService interface running on Apache Tomcat";
        };
  
        publishInfrastructure = {
          enable = mkOption {
            default = false;
  	  description = "Whether to publish capabilities/properties of this machine in as attributes in the infrastructure option";
  	};
  
  	enableAuthentication = mkOption {
  	  default = false;
  	  description = "Whether to publish authentication credentials through the infrastructure attribute (not recommended in combination with Avahi)";
  	};
        };
  
        infrastructure = mkOption {
          default = {};
  	description = "List of name value pairs containing properties for the infrastructure model";
        };
  
        publishAvahi = mkOption {
          default = false;
  	description = "Whether to publish capabilities/properties as a Disnix service through Avahi";
        };
  
      };
  
negative.code:         { description = "Disnix server";
  
            startOn = "started dbus"
            + optionalString config.services.httpd.enable " and started httpd"
            + optionalString config.services.mysql.enable " and started mysql"
            + optionalString config.services.tomcat.enable " and started tomcat"
            + optionalString config.services.svnserve.enable " and started svnserve";
  
            script =
            ''
              export PATH=/var/run/current-system/sw/bin:/var/run/current-system/sw/sbin
              export HOME=/root
  
              ${pkgs.disnix}/bin/disnix-service --activation-modules-dir=${disnix_activation_scripts}/libexec/disnix/activation-scripts
  