From 67795a9a67b73eaccc660478da8ecde56ea350c5 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 6 Jan 2023 00:09:14 +0000 Subject: [PATCH] Update file .chezmoi.yaml.tmpl --- home/.chezmoi.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }}