anchor.diff:  let
   
     cfg  = config.services.supybot;
  -  configFile = pkgs.writeText "supybot.cfg" cfg.config;
   
   in
   
  
positive.code:         wantedBy = [ "multi-user.target" ];
          path = [ pkgs.pythonPackages.limnoria ];
          preStart = ''
            cd ${cfg.homeDir}
            mkdir -p logs/plugins backup conf data plugins tmp
          '';
          serviceConfig =
            { ExecStart =
                "${pkgs.pythonPackages.limnoria}/bin/supybot ${cfg.homeDir}/supybot.cfg";
              PIDFile = "/run/supybot.pid";
              User = "${cfg.user}"; 
              Group = "${cfg.group}";
              UMask = "0007";
              Restart = "on-abort";
  
negative.code: 
        enable = mkOption {
          default = false;
          description = "Enable Supybot, an IRC bot";
        };
  
        stateDir = mkOption {
          default = "/var/lib/supybot";
          description = "
  
          ";
        };
  
        configFile = mkOption {
          type = types.path;
          default = /dev/null;
          description = ''
            Verbatim contents of the supybot config, this can be
            generated by supybot-wizard
  