diff options
-rw-r--r-- | ymir.nix | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -13,7 +13,7 @@ let | |||
13 | cert = "certs/${name}.crt"; | 13 | cert = "certs/${name}.crt"; |
14 | }; | 14 | }; |
15 | }; | 15 | }; |
16 | in { | 16 | in 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 | } |