{ services.gitolite = { enable = true; user = "git"; group = "git"; adminPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDi7GGOGVj1Y5Sc1EW6zEdrp78dS6hvmS348pqu9dUsB openpgp:0x6BE7BD6F"; extraGitoliteRc = '' $RC{UMASK} = 0027; $RC{GIT_CONFIG_KEYS} = '.*'; $RC{ROLES}{OWNERS} = 1; $RC{OWNER_ROLENAME} = 'OWNERS'; push(@{$RC{ENABLE}}, 'D'); # push(@{$RC{ENABLE}}, 'set-default-roles'); # push(@{$RC{ENABLE}}, 'create'); # push(@{$RC{ENABLE}}, 'fork'); ''; }; environment.persistence."/persist".directories = [ "/var/lib/gitolite" ]; }