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