Update file .chezmoi.yaml.tmpl
This commit is contained in:
parent
67795a9a67
commit
83e48cdc4c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
||||||
{{- $chassisType = "wsl" }}
|
{{- $chassisType = "wsl" }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $chassisType = (regexFind "Chassis" "(output "hostnamectl")) }}
|
{{- $chassisType = "todo-get-from-hostnamectl" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else if eq .chezmoi.os "darwin" }}
|
{{- else if eq .chezmoi.os "darwin" }}
|
||||||
{{- if contains "MacBook" (output "sysctl" "-n" "hw.model") }}
|
{{- if contains "MacBook" (output "sysctl" "-n" "hw.model") }}
|
||||||
|
|
Loading…
Reference in a new issue