about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--services/cgit-taz/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix
index b3727923223d..2311a100d13b 100644
--- a/services/cgit-taz/default.nix
+++ b/services/cgit-taz/default.nix
@@ -56,6 +56,10 @@ let
 in writeShellScriptBin "cgit-launch" ''
   ${coreutils}/bin/mkdir -p /srv/git
 
+  # Create users required by SSH
+  echo 'somebody:x:1000:nixbld' >> /etc/group
+  echo 'somebody:x:1000:1000:somebody:/tmp:/bin/bash' >> /etc/passwd
+
   # The SSH keys are placed in the container by Kubernetes.
   export GIT_SSH_COMMAND="${openssh}/bin/ssh -F /var/cgit/ssh_config"
   ${git}/bin/git clone --mirror \