From fed86a79aa4aa9bd4588e2e701ca9a94da9120fd Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 6 Jan 2023 00:08:36 +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 f1422b9d..cbd74920 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") }}