diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index cbd74920..8a3ea226 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")) }} {{- end -}} {{- else if eq .chezmoi.os "darwin" }} {{- if contains "MacBook" (output "sysctl" "-n" "hw.model") }}