anchor.diff:        group = "supybot";
         description = "Supybot IRC bot user";
         home = cfg.stateDir;
  -      createHome = true;
  +      isSystemUser = true;
       };
   
       users.groups.supybot = {
  
positive.code:       wantedBy = [ "multi-user.target" ];
        path = [ pkgs.pythonPackages.limnoria ];
        preStart = ''
          cd ${cfg.stateDir}
          mkdir -p backup conf data plugins logs/plugins tmp web
          ln -sf ${cfg.configFile} supybot.cfg
          # This needs to be created afresh every time
          rm -f supybot.cfg.bak
        '';
  
        serviceConfig = {
  
negative.code:       };
  
        stateDir = mkOption {
          type = types.path;
          default = if versionAtLeast config.system.stateVersion "20.09"
            then "/var/lib/supybot"
            else "/home/supybot";
          defaultText = "/var/lib/supybot";
          description = "The root directory, logs and plugins are stored here";
        };
  
        configFile = mkOption {
          type = types.path;
          description = ''
            Path to initial supybot config file. This can be generated by
            running supybot-wizard.
  
            Note: all paths should include the full path to the stateDir
  