8000 feat(dotfiles): add custom variable for the dotfiles parameter description by diranged · Pull Request #151 · coder/registry · GitHub
[go: up one dir, main page]

Skip to content

feat(dotfiles): add custom variable for the dotfiles parameter description #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 9, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(dotfiles): add custom variable for the dotfiles parameter descri…
…ption
  • Loading branch information
diranged committed Jun 13, 2025
commit 9b4df49014528390fee49de9ad3c83f8b09ce10e
8 changes: 7 additions & 1 deletion registry/coder/modules/dotfiles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ variable "agent_id" {
description = "The ID of a Coder agent."
}

variable "description" {
type = string
description = "A custom description for the dotfiles parameter. This is shown in the UI - and allows you to customize the instructions you give to your users."
default = "Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace"
}

variable "default_dotfiles_uri" {
type = string
description = "The default dotfiles URI if the workspace user does not provide one"
Expand Down Expand Up @@ -64,7 +70,7 @@ data "coder_parameter" "dotfiles_uri" {
display_name = "Dotfiles URL"
order = var.coder_parameter_order
default = var.default_dotfiles_uri
description = "Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace"
description = var.description
mutable = true
icon = "/icon/dotfiles.svg"
}
Expand Down
Loading
0