Skip to content

Commit

Permalink
Add headless chezmoi data
Browse files Browse the repository at this point in the history
  • Loading branch information
vspiewak committed Nov 14, 2023
1 parent 5366cc4 commit 49bc635
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion home/.chezmoi.toml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
{{/* boolean feature tags */}}
{{- $headless := false -}}{{/* true if this machine does not have a screen and keyboard */}}
{{- "" -}}

{{/* detect GitHub codespaces, VSCode remote containers, Docker containers, Multipass VMs, and Vagrant boxes */}}
{{- if or (env "CODESPACES") (env "REMOTE_CONTAINERS_IPC") (eq .chezmoi.username "root" "ubuntu" "vagrant" "vscode") -}}
{{- $headless = true -}}
{{- end -}}


{{- $email := "767370696577616b40676d61696c2e636f6d" -}}


[data]
email = {{ $email | hexDecode | quote }}
email = {{ $email | hexDecode | quote }}
headless = {{ $headless }}

0 comments on commit 49bc635

Please sign in to comment.