dotfiles/.chezmoi.toml.tmpl
2024-07-29 19:01:11 -07:00

71 lines
1.5 KiB
Cheetah

{{- $passphrase := promptStringOnce . "passphrase" "passphrase" -}}
{{- $osid := .chezmoi.os -}}
{{- if hasKey .chezmoi.osRelease "id" -}}
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
{{- end -}}
progress = true
encryption = "gpg"
[git]
autoPush = true
[diff]
{{ if lookPath "delta" -}}
command = "delta"
args = ["--syntax-theme", "catppuccin-macchiato", "--features", "mellow-barbet", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
{{ end -}}
exclude = ["scripts"]
[gpg]
symmetric = true
args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache"]
[data]
{{ if lookPath "get-gpg-key" -}}
gpgKey = {{ output "get-gpg-key" | trim | quote }}
{{ end -}}
passphrase = {{ $passphrase | quote }}
osid = {{ $osid | quote }}
{{ if eq .chezmoi.hostname "marleycentre" -}}
isServer = true
{{ else }}
isServer = false
{{ end }}
[data.drapeau]
colorscheme = 'catppuccin-macchiato'
# Defaults for when config is regenerated.
[data.drapeau.colors]
name = 'catppuccin'
flavor = 'macchiato'
rosewater = '#f4dbd6'
flamingo = '#f0c6c6'
pink = '#f5bde6'
mauve = '#c6a0f6'
red = '#ed8796'
maroon = '#ee99a0'
peach = '#f5a97f'
yellow = '#eed49f'
green = '#a6da95'
teal = '#8bd5ca'
sky = '#91d7e3'
sapphire = '#7dc4e4'
blue = '#8aadf4'
lavender = '#b7bdf8'
text = '#cad3f5'
subtext1 = '#b8c0e0'
subtext0 = '#a5adcb'
overlay2 = '#939ab7'
overlay1 = '#8087a2'
overlay0 = '#6e738d'
surface2 = '#5b6078'
surface1 = '#494d64'
surface0 = '#363a4f'
base = '#24273a'
mantle = '#1e2030'
crust = '#181926'