install syncthing and chezmoi to sync over the chezmoi configs from another node
sudo pacman -S syncthing chezmoi && syncthing
chezmoi directory:
$HOME/.local/share/chezmoi/
Variables
# username{{.chezmoi.username}}# Hostname{{.chezmoi.fqdnHostname}}# Create a filepath variable and put quotes around it{{ joinPath .chezmoi.sourceDir "/.storage/mimeapps.list" | quote }}# access a chezmoi-config variable:{{.environment}}{{.environment | quote}}
IF
{{- if eq .environment "work" }}{{ if eq .chezmoi.hostname "EXPS15"}}{{ else if eq .chezmoi.os "linux" }}{{ end }}
If/OR
{{- if or (eq .chezmoi.hostname "AA0438IT") (eq .chezmoi.hostname "pve-dmz-0") }}{{ else if eq .chezmoi.os "linux" }}{{ end }}