anchor.diff:          startOn = "started dbus";
   
           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=${pkgs.disnix_activation_scripts}/libexec/disnix/activation-scripts
  +          ''
  +            ${pkgs.disnix}/bin/disnix-service --activation-modules-dir=${disnix_activation_scripts}/libexec/disnix/activation-scripts
             '';
         };
   
  
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
  
  {
  