feat: Templatize mise config file and add some packages to install during bootstrap

This commit is contained in:
2026-07-13 00:46:49 +02:00
parent ccc3426033
commit b117c6f52b
@@ -4,13 +4,46 @@ experimental = true
[settings.cargo]
binstall = true
######################### [ Bootstrap ] #########################
[bootstrap.packages]
"apt:man" = "latest"
"apt:manpages-fr" = "latest"
"apt:bash" = "latest"
"apt:bash-completion" = "latest"
"apt:zsh" = "latest"
"apt:fish" = "latest"
"apt:screen" = "latest"
"apt:tmux" = "latest"
"apt:curl" = "latest"
"apt:wget" = "latest"
"apt:vim" = "latest"
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) }}
"apt:build-essential" = "latest"
{{ end }}
# coreutils grep less tar zip unzip tree
# git #tig
# vim
# openssh-server openssh-client mosh
# lftp fping mtr socat
######################### [ Tools ] #########################
[tool_alias]
"kitty" = "github:kovidgoyal/kitty"
"chezmoi" = "github:twpayne/chezmoi"
"broot" = "cargo:broot"
"glab" = "go:gitlab.com/gitlab-org/cli/cmd/glab"
"kwok" = "github:kubernetes-sigs/kwok"
"tea" = "http:tea"
"kwok" = "github:kubernetes-sigs/kwok"
[tools]
usage = "latest"
@@ -19,7 +52,7 @@ usage = "latest"
chezmoi = "latest"
# Terminal
kitty = { version = "latest", asset_pattern = "kitty-*-x86_64.txz" }
# kitty = { version = "latest", asset_pattern = "kitty-*-x86_64.txz" }
# Editor
neovim = "latest"
@@ -29,6 +62,7 @@ tree-sitter = "latest"
# -- python --
python = "latest"
uv = "latest"
pipx = "latest"
# -- node --
@@ -66,8 +100,8 @@ age = "latest"
lazygit = "latest"
delta = "latest"
gh = "latest"
#tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{version}}/tea-{{version}}-{{os()}}-{{arch()}}.xz" }
tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{version}}/tea-{{version}}-linux-amd64.xz" }
#tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{- "{{" -}} version{{- "}}" -}} /tea-{{- "{{" -}} version{{- "}}" -}} -{{- "{{" -}} os(){{- "}}" -}} -{{- "{{" -}} arch(){{- "}}" -}} .xz" }
#tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{- "{{" -}} version{{- "}}" -}} /tea-{{- "{{" -}} version{{- "}}" -}} -linux-amd64.xz" }
jq = "latest"
yq = "latest"
@@ -94,6 +128,9 @@ yq = "latest"
# claude = "latest"
# codex = "latest"
# Desktop tools
obsidian = { version = "latest", asset_pattern = "Obsidian-{version}.AppImage" }
shellcheck = "latest"
vivid = "latest"
"pipx:vit" = "latest"