diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-09 02:31:48 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-09 02:31:48 +0100 |
commit | f65117beebab60bd62b8657b04f1dc95b427e666 (patch) | |
tree | 7a6759eac92b5a6499220257f0c327f60510fa4e | |
parent | 2d669270837aeacfcc8befb93d504cb35aed074f (diff) | |
download | nixos-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.nix | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 = { |