Compare commits

..
3 Commits
Author SHA1 Message Date
xavier a4e2eadbe9 feat(mise): Allow to declare bootstrap package per host
Whitout this, you can only specify packages per os (distrib).
2026-08-03 22:28:22 +02:00
xavier 06fb51ab5e feat: Add template to add an header to managed files more easily 2026-08-03 22:26:55 +02:00
xavier 28183fd943 fix(mise): Fix dependency for broot 2026-08-03 22:25:49 +02:00
5 changed files with 22 additions and 3 deletions
+4
View File
@@ -55,6 +55,8 @@ hosts:
configs: {}
# Termux (application de terminal pour android)
termux-debian:
packages:
- apt:zsh
users:
root:
toolboxes:
@@ -65,6 +67,8 @@ hosts:
- terminal
- dev-tools
termux-ubuntu:
packages:
- apt:zsh
users:
root:
toolboxes:
+1 -1
View File
@@ -16,6 +16,7 @@ tools:
- zoxide # Quickly jump to previouously visited directories
- broot # Navigate easily inside the file system
- glow # Render markdown on the CLI
- cargo-binstall # Needed for broot
dev-tools:
- jq
- yq
@@ -33,7 +34,6 @@ tools:
- node
- go
- rust
- cargo-binstall
devops:
- docker-cli
- podman
+4
View File
@@ -0,0 +1,4 @@
#
# Ce fichier est généré automatiquement par l'outil chezmoi.
# Préférez apporter vos modification depuis chezmoi que directement ici.
#
+12
View File
@@ -41,3 +41,15 @@
{{- end }}
{{- end }}
{{/* Host specific */}}
{{- $hostname := output "hostname" | trim -}}
{{- $currentHost := index .hosts $hostname -}}
{{- if $currentHost }}
{{- if hasKey $currentHost "packages" }}
# Paquets personnalisés pour l'hôte {{ $hostname }}
{{- range $currentHost.packages }}
"{{- . }}" = "latest"
{{- end }}
{{- end }}
{{- end }}
+1 -2
View File
@@ -1,5 +1,4 @@
# Ce fichier est généré automatiquement par l'outil chezmoi
# Préférez apporter vos modification depuis chezmoi que directement ici
{{ template "chezmoi-managed-header" . }}
[settings]
experimental = true