- Notifications
You must be signed in to change notification settings - Fork929
Closed
Description
As a user, I want my generic dotfiles to behave a specific way in Coder workspaces
I'm proposing we set the following environment variables inside workspaces:
CODER_WORKSPACE_NAME=maf/workCODER_WORKSPACE_TEMPLATE=dockerCODER_WORKSPACE=true
I think theCODER_WORKSPACE_TEMPLATE
is optional/nice-to-have for extra customization based on env, but the other two seem kind of like standard practice.
Example from Codespaces:
CODESPACE_NAME=mafredri-myrepo-a3rj5r302v9CODESPACES=true
This can be done even today by detectingCODER_AGENT_*
variables, but I consider this "internal logic" that the user can't rely on.