-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.chezmoi.yaml.tmpl
More file actions
39 lines (33 loc) · 890 Bytes
/
.chezmoi.yaml.tmpl
File metadata and controls
39 lines (33 loc) · 890 Bytes
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
32
33
34
35
36
37
38
39
# Determine what OS were on
{{ $os := "" }}
{{ $gui := false }}
{{ if and (eq .chezmoi.osRelease.id "fedora") (eq .chezmoi.osRelease.variantID "workstation") -}}
# Fedora workstation
{{ $os = "fedora" }}
{{ $gui = true }}
{{ end -}}
{{ if eq .chezmoi.osRelease.id "fedoraremixforwsl" -}}
# Feodra Remix in WSL
{{ $os = "fedora" }}
{{ $gui = false }}
{{ end -}}
{{ if eq .chezmoi.os "android" -}}
# Android
{{ $os = "android" }}
{{ $gui = false }}
{{ end -}}
sourceDir: {{ .chezmoi.sourceDir | quote }}
encryption: "age"
age:
identity: "/home/nat/.config/sops/age/keys.txt"
recipient: "age12kzuwvvedndehkke84apwamungqrcavf2khwjvd46f6lkq0wqq5q3s3vth"
data:
os: {{ $os }}
gui: {{ $gui }}
name: "Nat Allan"
email: "admin@natallan.com"
sync_dir: "{{ .chezmoi.sourceDir }}/private_dot_synctarget"
git:
autoAdd: true
autoCommit: true
autoPush: true