chore(nix/docker/aio): clean up

This commit is contained in:
sinanmohd
2025-02-15 15:56:02 +05:30
parent a143b5bd46
commit a75c54efee
8 changed files with 49 additions and 8 deletions

View File

@@ -48,11 +48,18 @@ writeShellApplication {
# setup users & groups
${dockerTools.shadowSetup}
for ident in s6log postgresql nocodb; do
for ident in s6log postgres nocodb; do
groupadd -r "$ident"
useradd -r -g "$ident" "$ident"
done
# required for s6-envuidgid
cat <<- EOF > /etc/nsswitch.conf
passwd: files
group: files
shadow: files
EOF
# exec into s6-linux-init
exec ${basedir}/bin/init
'';