diff options
author | lassulus <lassulus@lassul.us> | 2017-07-22 20:47:05 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-22 20:47:05 +0200 |
commit | edfd8ca19101e0c5c99fb799f05bd404c6d2287b (patch) | |
tree | fdb26b917c2e54209dba41824148a3a6c5466ffa /krebs/3modules/git.nix | |
parent | 8d123b954181aed5f769a4706ba26a3579fd987d (diff) |
krebs git: fix initial chown
Diffstat (limited to 'krebs/3modules/git.nix')
-rw-r--r-- | krebs/3modules/git.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index 884108ebb..93211d9d4 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -569,7 +569,8 @@ let if ! test -d "$repodir"; then mkdir -m "$mode" "$repodir" git init --bare --template=/var/empty "$repodir" - chown -R git:nogroup "$repodir" + # TODO fix correctly with stringAfter + chown -R ${toString config.users.users.git.uid}:nogroup "$repodir" fi ln -s ${hooks} "$repodir/hooks" '' |