diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index bb004a1..8ff27f5 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,6 +1,8 @@ +{{- $development := promptBoolOnce . "development" "is this a development environment [false]" -}} {{- $hellotech := promptBoolOnce . "hellotech" "include work tools [false]" -}} {{- $include_legacy := promptBoolOnce . "include_legacy" "include old scripts [false]" -}} [data] +development = {{ $development }} hellotech = {{ $hellotech }} include_legacy = {{ $include_legacy }} diff --git a/dot_config/git/config.tmpl b/dot_config/git/config.tmpl index 175c776..aa7f9ca 100644 --- a/dot_config/git/config.tmpl +++ b/dot_config/git/config.tmpl @@ -69,11 +69,13 @@ [fetch] prune = true +#{{ if .development -}}# [url "ssh://git@git.buddy.wtf"] insteadOf = https://git.buddy.wtf [url "ssh://git@git.xbudex.com:2022"] insteadOf = https://git.xbudex.com +#{{- end }}# #{{ if .hellotech -}}# [url "git@github.com:HelloTech"]