Trying to get chezmoi init working

This commit is contained in:
Eric Renfro 2023-12-26 11:14:42 -05:00
parent d87bdd6c92
commit 696466b3d5
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -1,12 +1,13 @@
{{- $personal := promptBool "Personal?" -}}{{/* true if this is a personal machine */}}
{{- if eq $personal true -}}
{{- $email = "psi-jack@linux-help.org" -}}
{{- $work := false -}}
{{- $email = "something@work.email" -}}
{{- else -}}
{{- $email = promptString "Email?" -}}
{{- $work := promptBool "Work?" -}}
{{- end -}}
sourceDir: {{ .chezmoi.SourceDir | quote }}
data:
name: "Eric Renfro"
@ -26,7 +27,7 @@ data:
term:
name: "Hack Nerd Font"
size: 12.0
encryption: "age"
encryption: age
age:
recipient: "age1fc7myuewzdr7rvqr9fl3x3jwky3j4gp92hxguf3dlgnesm9s9e8q45xmp2"
identity: "~/.config/sops/keys.txt"