anchor.diff:      };
       users.groups.${cfg.group}.gid = config.ids.gids.gitolite;
   
  -    systemd.tmpfiles.rules = [
  -      "d '${cfg.dataDir}' 0750 ${cfg.user} ${cfg.group} - -"
  -      "d '${cfg.dataDir}'/.gitolite - ${cfg.user} ${cfg.group} - -"
  -      "d '${cfg.dataDir}'/.gitolite/logs - ${cfg.user} ${cfg.group} - -"
  -
  -      "Z ${cfg.dataDir} 0750 ${cfg.user} ${cfg.group} - -"
  -    ];
  -
       systemd.services.gitolite-init = {
         description = "Gitolite initialization";
         wantedBy    = [ "multi-user.target" ];
  
positive.code:         type = types.str;
          default = "/var/lib/gitolite";
          description = ''
            Gitolite home directory (used to store all the repositories).
          '';
        };
  
  
negative.code:         GITOLITE_RC_DEFAULT = "${rcDir}/gitolite.rc.default";
        };
  
        serviceConfig = mkMerge [
          (mkIf (cfg.dataDir == "/var/lib/gitolite") {
            StateDirectory = "gitolite gitolite/.gitolite gitolite/.gitolite/logs";
            StateDirectoryMode = "0750";
          })
          {
            Type = "oneshot";
            User = cfg.user;
            Group = cfg.group;
            WorkingDirectory = "~";
            RemainAfterExit = true;
          }
        ];
  
        path = [ pkgs.gitolite pkgs.git pkgs.perl pkgs.bash pkgs.diffutils config.programs.ssh.package ];
        script =
  