feat: Some adaptations for termux
This commit is contained in:
@@ -36,3 +36,9 @@ hosts:
|
|||||||
- age
|
- age
|
||||||
- cargo:rage
|
- cargo:rage
|
||||||
configs: {}
|
configs: {}
|
||||||
|
termux-debian:
|
||||||
|
toolboxes:
|
||||||
|
- terminal
|
||||||
|
- dev-tools
|
||||||
|
tools: {}
|
||||||
|
configs: {}
|
||||||
|
|||||||
@@ -1,5 +1,26 @@
|
|||||||
---
|
---
|
||||||
packages:
|
packages:
|
||||||
|
debian:
|
||||||
|
common:
|
||||||
|
- tar
|
||||||
|
- zip
|
||||||
|
- unzip
|
||||||
|
- manpages
|
||||||
|
- manpages-fr
|
||||||
|
- bash
|
||||||
|
- bash-completion
|
||||||
|
- screen
|
||||||
|
- tmux
|
||||||
|
- curl
|
||||||
|
- wget
|
||||||
|
- vim
|
||||||
|
- git
|
||||||
|
- tree
|
||||||
|
- build-essential
|
||||||
|
server: []
|
||||||
|
desktop:
|
||||||
|
- zsh
|
||||||
|
- fish
|
||||||
ubuntu:
|
ubuntu:
|
||||||
common:
|
common:
|
||||||
- tar
|
- tar
|
||||||
|
|||||||
@@ -9,6 +9,16 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- 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 }}
|
{{- if $isUbuntu }}
|
||||||
|
|
||||||
# Ubuntu common
|
# Ubuntu common
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{{/* .chezmoitemplates/mise-tools */}}
|
{{/* .chezmoitemplates/mise-tools */}}
|
||||||
{{- $hostname := .chezmoi.hostname -}}
|
{{- $hostname := output "hostname" | trim -}}
|
||||||
|
# Configuration pour l'hôte {{ $hostname }}
|
||||||
{{- $currentHost := index .hosts $hostname -}}
|
{{- $currentHost := index .hosts $hostname -}}
|
||||||
|
|
||||||
{{- if $currentHost }}
|
{{- if $currentHost }}
|
||||||
{{- /* 1. Parcourir les toolboxes associées à cet hôte */}}
|
{{- /* 1. Parcourir les toolboxes associées à cet hôte */}}
|
||||||
{{- range $toolboxName := $currentHost.toolboxes }}
|
{{- range $toolboxName := $currentHost.toolboxes }}
|
||||||
|
|||||||
Reference in New Issue
Block a user