summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-09 02:31:48 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-09 02:31:48 +0100
commitf65117beebab60bd62b8657b04f1dc95b427e666 (patch)
tree7a6759eac92b5a6499220257f0c327f60510fa4e
parent2d669270837aeacfcc8befb93d504cb35aed074f (diff)
downloadnixos-f65117beebab60bd62b8657b04f1dc95b427e666.tar
nixos-f65117beebab60bd62b8657b04f1dc95b427e666.tar.gz
nixos-f65117beebab60bd62b8657b04f1dc95b427e666.tar.bz2
nixos-f65117beebab60bd62b8657b04f1dc95b427e666.tar.xz
nixos-f65117beebab60bd62b8657b04f1dc95b427e666.zip
Changed way we set gitolites group
-rw-r--r--ymir.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index 76253d8b..7022c591 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -176,9 +176,8 @@ in rec {
176 adminPubkey = builtins.readFile (builtins.head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles); 176 adminPubkey = builtins.readFile (builtins.head (import ./users/gkleen.nix).openssh.authorizedKeys.keyFiles);
177 dataDir = "/srv/git"; 177 dataDir = "/srv/git";
178 }; 178 };
179 users.groups."git" = { 179 users.extraUsers."gitolite" = {
180 members = [ "gitolite" 180 group = "gitolite";
181 ];
182 }; 181 };
183 182
184 services.gitDaemon = { 183 services.gitDaemon = {