summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-08 22:18:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-08 22:18:59 +0100
commitfc781f1dc932dd41bee3af8fe30f0deb29dee284 (patch)
treee85afe1d0d0b166185db808e3b5fc7d7293e2ed1 /ymir.nix
parent6ddee6897d86623b35603ca09e1aa55684c3b346 (diff)
downloadnixos-fc781f1dc932dd41bee3af8fe30f0deb29dee284.tar
nixos-fc781f1dc932dd41bee3af8fe30f0deb29dee284.tar.gz
nixos-fc781f1dc932dd41bee3af8fe30f0deb29dee284.tar.bz2
nixos-fc781f1dc932dd41bee3af8fe30f0deb29dee284.tar.xz
nixos-fc781f1dc932dd41bee3af8fe30f0deb29dee284.zip
gitolite on ymir
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 7ca96ece..327116ba 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -169,4 +169,10 @@ in {
169 enable = true; 169 enable = true;
170 httpConfig = builtins.readFile ./custom/ymir.nginx; 170 httpConfig = builtins.readFile ./custom/ymir.nginx;
171 }; 171 };
172
173 services.gitolite = {
174 enable = true;
175 adminPubkey = builtins.readFile (head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles);
176 dataDir = "/srv/git";
177 };
172} 178}