-
Notifications
You must be signed in to change notification settings - Fork 1
/
.chezmoi.toml.tmpl
31 lines (26 loc) · 920 Bytes
/
.chezmoi.toml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[data]
{{- $environment := promptStringOnce . "environment" "Whose machine is this? [work/personal]" "personal" }}
environment = "{{ $environment }}"
{{- $gpu := promptStringOnce . "gpu" "What GPU are you using? [amd/nvidia/other]" "other" }}
gpu = "{{ $gpu }}"
{{- $headless := promptBoolOnce . "headless" "Is this a headless machine? [y/n]" false }}
headless = {{ $headless }}
relative_xdg_data_home = ".local/share"
relative_xdg_config_home = ".config"
relative_xdg_state_home = ".local/state"
relative_xdg_cache_home = ".cache"
[data.monitors]
{{- $location := promptStringOnce . "monitors.selected" "Where are you located? [home/work]" "home" }}
selected = "{{ $location }}"
[edit]
command = "code"
args = ["--wait"]
[git]
autoCommit = true
autoPush = true
[diff]
command = "difft"
args = ["--color", "always", "--missing-as-empty", "--skip-unchanged"]
pager = "less -RF"
exclude = ["scripts"]
reverse = false