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