1 {pkgs, lib, config, system, ...}:
2 let inherit (builtins.extraBuiltins) pass;
4 inherit (config.services) gitolite;
5 userPass = name: pass ("${config.networking.domain}/${config.networking.hostName}/"+name);
6 gitolite-admin = "julm";
14 group = gitolite.user;
15 adminPubkey = pass "${config.networking.domain}/ssh/${gitolite-admin}";
18 $RC{LOG_DEST} = 'repo-log,syslog';
19 $RC{LOG_FACILITY} = 'local0';
20 $RC{GIT_CONFIG_KEYS} = 'hooks.* gitweb.*';
21 $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local"
22 if -d "$rc{GL_ADMIN_BASE}/local";
23 push(@{$RC{ENABLE}}, ( 'Alias'
26 , 'Shell ${gitolite-admin}'
28 , 'expand-deny-messages'
30 , 'keysubdirs-as-groups'
32 , 'repo-specific-hooks'
33 , 'ssh-authkeys-split'