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: {} configs: {}
# Termux (application de terminal pour android) # Termux (application de terminal pour android)
termux-debian: termux-debian:
packages:
- apt:zsh
users: users:
root: root:
toolboxes: toolboxes:
@@ -65,6 +67,8 @@ hosts:
- terminal - terminal
- dev-tools - dev-tools
termux-ubuntu: termux-ubuntu:
packages:
- apt:zsh
users: users:
root: root:
toolboxes: toolboxes:
+1 -1
View File
@@ -16,6 +16,7 @@ tools:
- zoxide # Quickly jump to previouously visited directories - zoxide # Quickly jump to previouously visited directories
- broot # Navigate easily inside the file system - broot # Navigate easily inside the file system
- glow # Render markdown on the CLI - glow # Render markdown on the CLI
- cargo-binstall # Needed for broot
dev-tools: dev-tools:
- jq - jq
- yq - yq
@@ -33,7 +34,6 @@ tools:
- node - node
- go - go
- rust - rust
- cargo-binstall
devops: devops:
- docker-cli - docker-cli
- podman - 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 }}
{{- 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 {{ template "chezmoi-managed-header" . }}
# Préférez apporter vos modification depuis chezmoi que directement ici
[settings] [settings]
experimental = true experimental = true