anchor.diff:            Initial administrative public key for Gitolite. This should
             be an SSH Public Key. Note that this key will only be used
             once, upon the first initialization of the Gitolite user.
  +        '';
  +      };
  +
  +      commonHooks = mkOption {
  +        type = types.listOf types.path;
  +        default = [];
  +        description = ''
  +          A list of custom git hooks that get copied to <literal>~/.gitolite/hooks/common</literal>.
           '';
         };
       };
  
positive.code:         if [ ! -d repositories ]; then
            gitolite setup -pk ${pubkeyFile}
          fi
          gitolite setup # Upgrade if needed
        '';
      };
  
negative.code: let
    cfg = config.services.gitolite;
    pubkeyFile = pkgs.writeText "gitolite-admin.pub" cfg.adminPubkey;
    hooks = lib.concatMapStrings (hook: "${hook} ") cfg.commonHooks;
  in
  {
    options = {
  