Skip to content

Commit

Permalink
fix(templates): Update environment variable default values
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Mar 20, 2024
1 parent 73b577a commit 0cf1245
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chezmoi/.chezmoi.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
# {{- $name = .name -}}
# {{- end -}}

# {{- $github_username := env "GITHUB_USERNAME" -}}
# {{- $github_username := or (env "GITHUB_USERNAME") "" -}}
# {{- if and (hasKey . "github") (hasKey .github "username") .github.username -}}
# {{- $github_username = .github.username -}}
# {{- end -}}

# {{- $docker_username := env "DOCKER_USERNAME" -}}
# {{- $docker_username := or (env "DOCKER_USERNAME") "" -}}
# {{- if and (hasKey . "docker") (hasKey .docker "username") .docker.username -}}
# {{- $docker_username = .docker.username -}}
# {{- end -}}
Expand All @@ -116,12 +116,12 @@
# {{- $ssh_algorithm = .ssh.algorithm -}}
# {{- end -}}

# {{- $github_token := env "GITHUB_TOKEN" -}}
# {{- $github_token := or (env "GITHUB_TOKEN") "" -}}
# {{- if and (hasKey . "github") (hasKey .github "token") .github.token -}}
# {{- $github_token = .github.token -}}
# {{- end -}}

# {{- $gpg_passphrase := env "GPG_PASSPHRASE" -}}
# {{- $gpg_passphrase := or (env "GPG_PASSPHRASE") "" -}}
# {{- if and (hasKey . "gnupg") (hasKey .gnupg "passphrase") -}}
# {{- $gpg_passphrase = .gnupg.passphrase -}}
# {{- end -}}
Expand Down

0 comments on commit 0cf1245

Please sign in to comment.