From fc781f1dc932dd41bee3af8fe30f0deb29dee284 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 8 Nov 2015 22:18:59 +0100 Subject: gitolite on ymir --- ymir.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ymir.nix b/ymir.nix index 7ca96ece..327116ba 100644 --- a/ymir.nix +++ b/ymir.nix @@ -169,4 +169,10 @@ in { enable = true; httpConfig = builtins.readFile ./custom/ymir.nginx; }; + + services.gitolite = { + enable = true; + adminPubkey = builtins.readFile (head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles); + dataDir = "/srv/git"; + }; } -- cgit v1.2.3