diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index e31a5d85..f1422b9d 100644 --- a/home/.chezmoi.yaml.tmpl +++ b/home/.chezmoi.yaml.tmpl @@ -55,7 +55,7 @@ {{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}} {{- $chassisType = "wsl" }} {{- else -}} -{{- $chassisType = (regexFind "Chassis.*" "(output "hostnamectl") | replace "Chassis: " "") }} +{{- $chassisType := (regexFind "Chassis" "(output "hostnamectl") | replace "Chassis: " "") }} {{- end -}} {{- else if eq .chezmoi.os "darwin" }} {{- if contains "MacBook" (output "sysctl" "-n" "hw.model") }}