Update file .chezmoi.yaml.tmpl

This commit is contained in:
Brian Zalewski 2023-01-06 00:09:14 +00:00
parent fed86a79aa
commit 67795a9a67

View file

@ -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") }}