feat: Some adaptations for termux
This commit is contained in:
@@ -9,6 +9,16 @@
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Debian */}}
|
||||
{{- if and (eq .chezmoi.os "linux") (hasKey .chezmoi "osRelease") (eq .chezmoi.osRelease.id "debian") -}}
|
||||
|
||||
# Debian common
|
||||
{{- range .packages.debian.common }}
|
||||
"apt:{{- . }}" = "latest"
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Ubuntu */}}
|
||||
{{- if $isUbuntu }}
|
||||
|
||||
# Ubuntu common
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* .chezmoitemplates/mise-tools */}}
|
||||
{{- $hostname := .chezmoi.hostname -}}
|
||||
{{- $hostname := output "hostname" | trim -}}
|
||||
# Configuration pour l'hôte {{ $hostname }}
|
||||
{{- $currentHost := index .hosts $hostname -}}
|
||||
|
||||
{{- if $currentHost }}
|
||||
{{- /* 1. Parcourir les toolboxes associées à cet hôte */}}
|
||||
{{- range $toolboxName := $currentHost.toolboxes }}
|
||||
|
||||
Reference in New Issue
Block a user