@ -10,7 +10,3 @@ tags: [helper]
# Dotfiles
Allow developers to optionally bring their own [dotfiles repository](https://dotfiles.github.io)! Under the hood, this module uses the [coder dotfiles](https://coder.com/docs/v2/latest/dotfiles) command.
TODO:
- [ ] Test it
@ -25,7 +25,7 @@ data "coder_parameter" "dotfiles_uri" {
resource "coder_script" "personalize" {
agent_id = var.agent_id
script =<<-EOT
script = <<-EOT
DOTFILES_URI="${data.coder_parameter.dotfiles_uri.value}"
if [ -n "$${DOTFILES_URI// }" ]; then
coder dotfiles "$DOTFILES_URI" -y 2>&1 | tee -a ~/.dotfiles.log