Skip to content
Open
Changes from all commits
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
14 changes: 14 additions & 0 deletions docs/dotfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ explains how it loads your repo.

You can read more on dotfiles best practices [here](https://dotfiles.github.io).

## Module

Coder's [dotfiles module](https://registry.coder.com/modules/dotfiles) abstracts
Coder's dotfiles command into a module. This will prompt the user for their
dotfiles repository URL on workspace creation using a coder_parameter.

```hcl
module "dotfiles" {
source = "registry.coder.com/modules/dotfiles/coder"
version = "~>1.0.15"
agent_id = coder_agent.example.id
}
```

## Templates

Templates can prompt users for their dotfiles repo using the following pattern:
Expand Down