Dotfiles template default repo (#224)

Co-authored-by: Muhammad Atif Ali <me@matifali.dev>
This commit is contained in:
djarbz
2024-04-14 09:06:56 -05:00
committed by GitHub
parent dfe69f25ce
commit 24e50e2bbb
3 changed files with 34 additions and 1 deletions

View File

@@ -18,3 +18,16 @@ module "dotfiles" {
agent_id = coder_agent.example.id
}
```
## Setting a default dotfiles repository
You can set a default dotfiles repository for all users by setting the `default_dotfiles_repo` variable:
```tf
module "dotfiles" {
source = "registry.coder.com/modules/dotfiles/coder"
version = "1.0.12"
agent_id = coder_agent.example.id
default_dotfiles_repo = "https://github.com/coder/dotfiles"
}
```