You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: registry/coder/modules/dotfiles/main.tf
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ variable "agent_id" {
26
26
description="The ID of a Coder agent."
27
27
}
28
28
29
+
variable"description" {
30
+
type=string
31
+
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."
32
+
default="Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace"
33
+
}
34
+
29
35
variable"default_dotfiles_uri" {
30
36
type=string
31
37
description="The default dotfiles URI if the workspace user does not provide one"
@@ -64,7 +70,7 @@ data "coder_parameter" "dotfiles_uri" {
64
70
display_name="Dotfiles URL"
65
71
order=var.coder_parameter_order
66
72
default=var.default_dotfiles_uri
67
-
description="Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace"
@@ -123,11 +100,11 @@ You can extend Goose's capabilities by adding custom extensions. For example, to
123
100
module "goose" {
124
101
# ... other configuration ...
125
102
126
-
experiment_pre_install_script = <<-EOT
103
+
pre_install_script = <<-EOT
127
104
npm i -g @wonderwhy-er/desktop-commander@latest
128
105
EOT
129
106
130
-
experiment_additional_extensions = <<-EOT
107
+
additional_extensions = <<-EOT
131
108
desktop-commander:
132
109
args: []
133
110
cmd: desktop-commander
@@ -145,20 +122,6 @@ This will add the desktop-commander extension to Goose, allowing it to run comma
145
122
146
123
Note: The indentation in the heredoc is preserved, so you can write the YAML naturally.
147
124
148
-
## Run standalone
125
+
## Troubleshooting
149
126
150
-
Run Goose as a standalone app in your workspace. This will install Goose and run it directly without using screen or tmux, and without any task reporting to the Coder UI.
151
-
152
-
```tf
153
-
module "goose" {
154
-
source = "registry.coder.com/coder/goose/coder"
155
-
version = "1.3.0"
156
-
agent_id = coder_agent.example.id
157
-
folder = "/home/coder"
158
-
install_goose = true
159
-
goose_version = "v1.0.16"
160
-
161
-
# Icon is not available in Coder v2.20 and below, so we'll use a custom icon URL
0 commit comments