match hostnames via prefix

This commit is contained in:
2026-08-11 11:17:33 -04:00
parent f656443dbd
commit 6449a233c0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
README.md
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") (eq .chezmoi.hostname "UGC1C4PJF24") (eq .chezmoi.hostname "UGC1C6Z2PC4") (env "ANDROID_ROOT") }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (hasPrefix "UGC" .chezmoi.hostname) (env "ANDROID_ROOT") }}
.config/beets
.config/davfs2/secrets
.config/kitty
@@ -9,7 +9,7 @@ README.md
.config/waybar
{{ end }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") (eq .chezmoi.hostname "UGC1C4PJF24") }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (hasPrefix "UGC" .chezmoi.hostname) }}
.local/share/gnupg/sshcontrol
{{ end }}