feat(paseo): preinstall nano and set the git identity from the environment

GIT_NAME and GIT_EMAIL expand into the four GIT_AUTHOR_*/GIT_COMMITTER_*
variables, the same shape code-server already uses. Passing the identity as
environment rather than running `git config` means agents and terminals commit
correctly with no setup step, and it does not depend on ~/.gitconfig surviving
in the /home/paseo volume.
This commit is contained in:
tiennm99 committed 2026-09-16 17:57:16 +07:00
1 parent cb1d38f147
commit d6f7eb46cd
4 files changed
+13 -2

No files matched your search

+6
View File
@@ -25,6 +25,12 @@ PASEO_LABEL=paseo
# Timezone for logs and agent shells.
TZ=Asia/Ho_Chi_Minh
# Git identity for agents and terminals, as author and committer. These reach
# git as environment variables, so they need no `git config` and survive a
# rebuild -- unlike a ~/.gitconfig, which only lives in the /home/paseo volume.
GIT_NAME=tiennm99
GIT_EMAIL=tiennm99@outlook.com
# Shell for Paseo's terminals. Paseo reads $SHELL and falls back to /bin/sh
# (dash), ignoring the user's login shell, so set it here rather than running
# chsh -- which would be reverted by the next rebuild anyway.