TemplatesModules
Back to Modules
Dotfiles Icon

Dotfiles

By:
Allow developers to optionally bring their own dotfiles repository to customize their shell and IDE settings!
README
Variables (3)
Scripts (1)
Parameters (1)
Source

Allow developers to optionally bring their own dotfiles repository! Under the hood, this module uses the coder dotfiles command.

1module "dotfiles" {
2  source   = "registry.coder.com/modules/dotfiles/coder"
3  version  = "1.0.12"
4  agent_id = coder_agent.example.id
5}

Setting a default dotfiles repository

You can set a default dotfiles repository for all users by setting the default_dotfiles_uri variable:

1module "dotfiles" {
2  source               = "registry.coder.com/modules/dotfiles/coder"
3  version              = "1.0.12"
4  agent_id             = coder_agent.example.id
5  default_dotfiles_uri = "https://github.com/coder/dotfiles"
6}