summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 9a6459cd..5f6af75f 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -13,7 +13,7 @@ let
13 cert = "certs/${name}.crt"; 13 cert = "certs/${name}.crt";
14 }; 14 };
15 }; 15 };
16in { 16in rec {
17 imports = 17 imports =
18 [ 18 [
19 ./ymir-hw.nix 19 ./ymir-hw.nix
@@ -175,4 +175,13 @@ in {
175 adminPubkey = builtins.readFile (builtins.head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles); 175 adminPubkey = builtins.readFile (builtins.head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles);
176 dataDir = "/srv/git"; 176 dataDir = "/srv/git";
177 }; 177 };
178 users.groups."git" = {
179 members = [ "gitolite"
180 ];
181 };
182
183 services.gitDaemon = {
184 enable = true;
185 basePath = services.gitolite.dataDir;
186 };
178} 187}