anchor.diff:          default = false;
           description = ''
             Enable gitolite management under the
  -          <literal>gitolite</literal> user. The Gitolite home
  -          directory is <literal>/var/lib/gitolite</literal>. After
  +          <literal>gitolite</literal> user. After
             switching to a configuration with Gitolite enabled, you can
             then run <literal>git clone
             gitolite@host:gitolite-admin.git</literal> to manage it further.
  +        '';
  +      };
  +
  +      dataDir = mkOption {
  +        type = types.str;
  +        default = "/var/lib/gitolite";
  +        description = ''
  +          Gitolite home directory (used to store all the repositories).
           '';
         };
   
  
positive.code: 
        path = [ pkgs.gitolite pkgs.git pkgs.perl pkgs.bash pkgs.openssh ];
        script = ''
          cd /var/lib/gitolite
          mkdir -p .gitolite/logs
          if [ ! -d repositories ]; then
            gitolite setup -pk ${pubkeyFile}
  
negative.code:   config = mkIf cfg.enable {
      users.extraUsers.gitolite = {
        description     = "Gitolite user";
        home            = cfg.dataDir;
        createHome      = true;
        uid             = config.ids.uids.gitolite;
        useDefaultShell = true;
  