From d87bdd6c9249991fa8e327bf4fda33c7dbfb1799 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Tue, 26 Dec 2023 10:54:07 -0500 Subject: [PATCH] Added lots ot chezmoi config --- .chezmoi.yaml.tmpl | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/.chezmoi.yaml.tmpl b/.chezmoi.yaml.tmpl index cdc38f4..43e03dc 100644 --- a/.chezmoi.yaml.tmpl +++ b/.chezmoi.yaml.tmpl @@ -1,9 +1,32 @@ -{{- $personal := false -}}{{/* true if this is a personal machine */}} - -{{- $personal = promptBool "personal" -}} - -format = yaml +{{- $personal := promptBool "Personal?" -}}{{/* true if this is a personal machine */}} +{{- if eq $personal true -}} + {{- $work := false -}} + {{- $email = "something@work.email" -}} +{{- else -}} + {{- $email = promptString "Email?" -}} + {{- $work := promptBool "Work?" -}} +{{- end -}} +sourceDir: {{ .chezmoi.SourceDir | quote }} data: name: "Eric Renfro" - personal: {{ $personal | quote }} + email: {{ $email | quote }} + is: + personal: {{ $personal -}} + work: {{ $work -}} + battlestation: false + headless: true + theme: "erenfro" + programs: + terminal: alacritty + editor: micro + visual: less + browser: firefox + font: + term: + name: "Hack Nerd Font" + size: 12.0 +encryption: "age" +age: + recipient: "age1fc7myuewzdr7rvqr9fl3x3jwky3j4gp92hxguf3dlgnesm9s9e8q45xmp2" + identity: "~/.config/sops/keys.txt"