From b75989d82ec2d90986eed571af3b3cdc6a7d5156 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 6 Jan 2023 00:07:24 +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 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") }}