Compare commits

..
3 Commits
3 changed files with 72 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
---
".config/bash":
type: git-repo
url: https://gitea.cloud.logerais.com/xavier/config-bash.git
refreshPeriod: 24h # Vérifie toutes les 24h
".config/nvim":
type: git-repo
url: https://gitea.cloud.logerais.com/xavier/config-nvim.git
refreshPeriod: 24h # Vérifie toutes les 24h
@@ -4,13 +4,46 @@ experimental = true
[settings.cargo] [settings.cargo]
binstall = true 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] [tool_alias]
"kitty" = "github:kovidgoyal/kitty" "kitty" = "github:kovidgoyal/kitty"
"chezmoi" = "github:twpayne/chezmoi" "chezmoi" = "github:twpayne/chezmoi"
"broot" = "cargo:broot" "broot" = "cargo:broot"
"glab" = "go:gitlab.com/gitlab-org/cli/cmd/glab" "glab" = "go:gitlab.com/gitlab-org/cli/cmd/glab"
"kwok" = "github:kubernetes-sigs/kwok"
"tea" = "http:tea" "tea" = "http:tea"
"kwok" = "github:kubernetes-sigs/kwok"
[tools] [tools]
usage = "latest" usage = "latest"
@@ -19,7 +52,7 @@ usage = "latest"
chezmoi = "latest" chezmoi = "latest"
# Terminal # Terminal
kitty = { version = "latest", asset_pattern = "kitty-*-x86_64.txz" } # kitty = { version = "latest", asset_pattern = "kitty-*-x86_64.txz" }
# Editor # Editor
neovim = "latest" neovim = "latest"
@@ -29,6 +62,7 @@ tree-sitter = "latest"
# -- python -- # -- python --
python = "latest" python = "latest"
uv = "latest"
pipx = "latest" pipx = "latest"
# -- node -- # -- node --
@@ -66,8 +100,8 @@ age = "latest"
lazygit = "latest" lazygit = "latest"
delta = "latest" delta = "latest"
gh = "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{{- "}}" -}} -{{- "{{" -}} 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{{- "}}" -}} -linux-amd64.xz" }
jq = "latest" jq = "latest"
yq = "latest" yq = "latest"
@@ -94,6 +128,9 @@ yq = "latest"
# claude = "latest" # claude = "latest"
# codex = "latest" # codex = "latest"
# Desktop tools
obsidian = { version = "latest", asset_pattern = "Obsidian-{version}.AppImage" }
shellcheck = "latest" shellcheck = "latest"
vivid = "latest" vivid = "latest"
"pipx:vit" = "latest" "pipx:vit" = "latest"
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# 1. Installer Mise s'il n'est pas présent
if ! command -v mise &>/dev/null; then
echo "📦 Installation de Mise..."
curl https://mise.run | sh
# S'assurer que mise est immédiatement accessible dans la session du script
export PATH="$HOME/.local/bin:$PATH"
fi
# 2. Lancer le bootstrap
if command -v mise &>/dev/null; then
echo "🚀 Mise bootstrap..."
mise bootstrap --yes
fi
# 3. Installer tous les outils déclarés dans ~/.config/mise/config.toml
if command -v mise &>/dev/null; then
echo "⚙️ Installation des outils via Mise (dont chezmoi si désiré)..."
mise install --yes
fi