dotfiles/.chezmoi.toml.tmpl

61 lines
1.5 KiB
Cheetah
Raw Normal View History

{{- $passphrase := promptStringOnce . "passphrase" "passphrase" -}}
{{- $osid := .chezmoi.os -}}
{{- if hasKey .chezmoi.osRelease "id" -}}
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
{{- end -}}
2024-04-19 19:04:59 -07:00
2024-04-16 18:53:54 -07:00
progress = true
encryption = "gpg"
2024-04-16 18:53:54 -07:00
[git]
autoPush = true
2024-07-29 19:01:11 -07:00
[diff]
{{ if lookPath "delta" -}}
command = "delta"
2024-07-29 18:58:38 -07:00
args = ["--syntax-theme", "catppuccin-macchiato", "--features", "mellow-barbet", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
{{ end -}}
2024-07-29 19:01:11 -07:00
exclude = ["scripts"]
2024-04-19 19:04:59 -07:00
[gpg]
symmetric = true
args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache"]
2024-04-16 18:53:54 -07:00
[data]
2024-04-20 10:08:34 -07:00
{{ if lookPath "get-gpg-key" -}}
gpgKey = {{ output "get-gpg-key" | trim | quote }}
2024-04-22 19:33:07 -07:00
{{ end -}}
2024-04-19 19:04:59 -07:00
passphrase = {{ $passphrase | quote }}
osid = {{ $osid | quote }}
2024-04-22 19:33:07 -07:00
{{ if eq .chezmoi.hostname "marleycentre" -}}
isServer = true
2024-04-22 19:37:47 -07:00
{{ else }}
isServer = false
{{ end }}
2024-04-17 21:04:13 -07:00
[data.drapeau]
colorscheme = 'catppuccin-macchiato'
2024-04-19 19:06:57 -07:00
2024-04-19 19:09:28 -07:00
# Defaults for when config is regenerated.
[data.drapeau.colors]
name = 'catppuccin'
flavor = 'frappe'
base00 = '#303446' # base
base01 = '#292c3c' # mantle
base02 = '#414559' # surface0
base03 = '#51576d' # surface1
base04 = '#626880' # surface2
base05 = '#c6d0f5' # text
base06 = '#f2d5cf' # rosewater
base07 = '#babbf1' # lavender
base08 = '#e78284' # red
base09 = '#ef9f76' # peach
base0A = '#e5c890' # yellow
base0B = '#a6d189' # green
base0C = '#81c8be' # teal
base0D = '#8caaee' # blue
base0E = '#ca9ee6' # mauve
base0F = '#eebebe' # flamingo