Update file .chezmoi.yaml.tmpl

This commit is contained in:
Brian Zalewski 2023-01-06 00:06:20 +00:00
parent 1dbaafc840
commit 262982fc0c

View file

@ -54,7 +54,7 @@
{{- else if eq .chezmoi.os "linux" }}
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
{{- $chassisType = "wsl" }}
{{- else -}}regexFind "[a-zA-Z][1-9]" "abcd1234"
{{- else -}}
{{- $chassisType = (regexFind "Chassis.*" "(output "hostnamectl") | replace "Chassis: " "") }}
{{- end -}}
{{- else if eq .chezmoi.os "darwin" }}