feat: Some adaptations for termux

This commit is contained in:
2026-07-16 08:29:15 +00:00
parent c1af60939e
commit 6a4e3f2699
4 changed files with 39 additions and 2 deletions
+10
View File
@@ -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
+2 -2
View File
@@ -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 }}