Compare commits
11
Commits
dd229593aa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4e2eadbe9 | ||
|
|
06fb51ab5e | ||
|
|
28183fd943 | ||
|
|
da24623dca | ||
|
|
9c757fc1c8 | ||
|
|
7932d9cc61 | ||
|
|
cc95831397 | ||
|
|
f44c6c47f3 | ||
|
|
c0a03acfd6 | ||
|
|
1d2ae95800 | ||
|
|
115cc9f6b7 |
+28
-20
@@ -3,6 +3,10 @@ hosts:
|
||||
# PC perso
|
||||
intel-nuc-hades-canyon:
|
||||
users:
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
xavier:
|
||||
toolboxes:
|
||||
- terminal
|
||||
@@ -10,20 +14,18 @@ hosts:
|
||||
- dev-languages
|
||||
- ai
|
||||
tools:
|
||||
- vivid
|
||||
- pipx:vit
|
||||
- pipx:speedtest-cli
|
||||
- pipx:asciinema
|
||||
configs: {}
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
tools: []
|
||||
configs: {}
|
||||
# Serveur dédié
|
||||
cloud:
|
||||
users:
|
||||
xavier:
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
ubuntu:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
@@ -32,14 +34,13 @@ hosts:
|
||||
tools:
|
||||
- pipx:vit
|
||||
configs: {}
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
tools: []
|
||||
configs: {}
|
||||
# Container de dev
|
||||
devenv:
|
||||
users:
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
xavier:
|
||||
toolboxes:
|
||||
- terminal
|
||||
@@ -52,21 +53,28 @@ hosts:
|
||||
- age
|
||||
- cargo:rage
|
||||
configs: {}
|
||||
# Termux (application de terminal pour android)
|
||||
termux-debian:
|
||||
packages:
|
||||
- apt:zsh
|
||||
users:
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
tools: []
|
||||
configs: {}
|
||||
termux-debian:
|
||||
users:
|
||||
- dev-tools
|
||||
xavier:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
tools: {}
|
||||
configs: {}
|
||||
termux-ubuntu:
|
||||
packages:
|
||||
- apt:zsh
|
||||
users:
|
||||
root:
|
||||
toolboxes:
|
||||
- terminal
|
||||
tools: []
|
||||
configs: {}
|
||||
- dev-tools
|
||||
xavier:
|
||||
toolboxes:
|
||||
- terminal
|
||||
- dev-tools
|
||||
|
||||
+12
-11
@@ -5,6 +5,7 @@ tools:
|
||||
- starship # Fancy prompt
|
||||
- powerline-go # Fancy prompt
|
||||
- lsd # Fancy ls replacement
|
||||
- vivid # Fancy ls colors
|
||||
- bat # Fancy cat replacement
|
||||
- ripgrep # Fancy grep replacement
|
||||
- fd # Fancy find replacement
|
||||
@@ -15,16 +16,17 @@ 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
|
||||
- shellcheck
|
||||
- lazygit
|
||||
- delta
|
||||
- gh
|
||||
- tea:
|
||||
version: "0.14.2"
|
||||
url: "https://gitea.com/gitea/tea/releases/download/v{{ version }}/tea-{{ version }}-{{ os() }}-{{ arch(x64='amd64') }}.xz"
|
||||
- jq
|
||||
- yq
|
||||
- shellcheck
|
||||
version: "0.14.2"
|
||||
dev-languages:
|
||||
- python
|
||||
- uv
|
||||
@@ -32,23 +34,22 @@ tools:
|
||||
- node
|
||||
- go
|
||||
- rust
|
||||
- cargo-binstall
|
||||
devops:
|
||||
- docker-cli
|
||||
- podman
|
||||
- lazydocker
|
||||
- kubectl
|
||||
- krew
|
||||
- k9s
|
||||
- helm
|
||||
- flux2
|
||||
- minikube
|
||||
- kind
|
||||
- crane
|
||||
- kwok
|
||||
- dive
|
||||
- trivy
|
||||
- podman
|
||||
- minikube
|
||||
- kwok
|
||||
- crane
|
||||
- cosign
|
||||
- lazydocker
|
||||
ai:
|
||||
- claude
|
||||
- gemini-cli
|
||||
@@ -61,4 +62,4 @@ tools:
|
||||
# # "cargo:rage" = "latest"
|
||||
#
|
||||
# # Desktop tools
|
||||
# #obsidian = { version = "latest", asset_pattern = "Obsidian-{version}.AppImage" }
|
||||
# obsidian = { version = "latest", asset_pattern = "Obsidian-{version}.AppImage" }
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
@@ -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,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
|
||||
|
||||
@@ -7,10 +7,12 @@ $container\
|
||||
$os\
|
||||
[](fg:#394260 bg:#a3aed2)\
|
||||
$username\
|
||||
$shell\
|
||||
[](fg:#a3aed2 bg:#769ff0)\
|
||||
$directory\
|
||||
[](fg:#769ff0 bg:#394260)\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_status\
|
||||
$direnv\
|
||||
$mise\
|
||||
@@ -30,6 +32,147 @@ right_format = """
|
||||
[](fg:#212736 bg:#1d2230)\
|
||||
\n$time\
|
||||
"""
|
||||
|
||||
[hostname]
|
||||
disabled = false
|
||||
ssh_only = false
|
||||
style = "bg:#212736 fg:#a3aed2"
|
||||
format = '[$ssh_symbol]($style)[ $hostname ]($style)'
|
||||
# detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
||||
# trim_at = '.companyname.com'
|
||||
# aliases = { "Max's MacBook Pro" = "home" }
|
||||
|
||||
[container]
|
||||
style = "bg:#212736 fg:#a3aed2"
|
||||
format = '[ $symbol $name ]($style)'
|
||||
|
||||
[os]
|
||||
disabled = false
|
||||
style = "bg:#394260 fg:#a3aed2"
|
||||
format = "[ $symbol ]($style)"
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:#a3aed2 fg:#212736"
|
||||
style_root = "bg:#a3aed2 fg:#990000 bold"
|
||||
format = '[ $user ]($style)'
|
||||
|
||||
[shell]
|
||||
disabled = false
|
||||
bash_indicator = ' '
|
||||
zsh_indicator = ' '
|
||||
fish_indicator = ' '
|
||||
powershell_indicator = '_'
|
||||
unknown_indicator = 'unknown shell'
|
||||
style = "bg:#a3aed2 fg:#212736"
|
||||
format = '[[](fg:#394260 bg:#a3aed2) $indicator]($style)'
|
||||
|
||||
[sudo]
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
disabled = false
|
||||
style = "fg:#e3e5e5 bg:#769ff0"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[git_branch]
|
||||
disabled = false
|
||||
symbol = ""
|
||||
style = "fg:#769ff0 bg:#394260"
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
|
||||
[git_commit]
|
||||
disabled = false
|
||||
tag_disabled = false
|
||||
tag_symbol = ' '
|
||||
only_detached = true
|
||||
style = "fg:#769ff0 bg:#394260"
|
||||
format = '[ $hash $tag ]($style)'
|
||||
|
||||
[git_status]
|
||||
disabled = false
|
||||
style = "fg:#769ff0 bg:#394260"
|
||||
format = '[$all_status$ahead_behind]($style)'
|
||||
ahead = '⇡${count}'
|
||||
behind = '⇣${count}'
|
||||
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
||||
up_to_date = ''
|
||||
modified = '[$count ](fg:yellow bg:#394260)'
|
||||
staged = '[$count ](fg:green bg:#394260)'
|
||||
deleted = '[$count ](fg:red bg:#394260)'
|
||||
renamed = '[$count ](fg:blue bg:#394260)'
|
||||
untracked = '[$count ](fg:gray bg:#394260)'
|
||||
conflicted = '[$count ](fg:red bg:#394260)'
|
||||
stashed = '$count📦' #
|
||||
|
||||
[direnv]
|
||||
disabled = false
|
||||
|
||||
[mise]
|
||||
disabled = true
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[bun]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[docker_context]
|
||||
disabled = false
|
||||
only_with_files = false
|
||||
symbol = " "
|
||||
style = "fg:#2560ff bg:#ffffff"
|
||||
format = '[[](fg:#212736 bg:#ffffff) $symbol $context [](fg:#ffffff bg:#212736)]($style)'
|
||||
|
||||
[kubernetes]
|
||||
disabled = false
|
||||
symbol = " "
|
||||
style = "bg:#316ce6 fg:#a3aed2"
|
||||
format = '[[](fg:#212736 bg:#316ce6) $symbol $context (\($namespace\))[](fg:#316ce6 bg:#212736)]($style)'
|
||||
|
||||
[terraform]
|
||||
disabled = false
|
||||
symbol = " "
|
||||
style = "bg:#1b1028 fg:#7b42bc"
|
||||
format = '[[](fg:#212736 bg:#1b1028) [$symbol](fg:#7b42bc bg:#1b1028) $workspace [](fg:#1b1028 bg:#212736)]($style)'
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "fg:#a3aed2"
|
||||
format = '[ $time ]($style)'
|
||||
# format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
||||
|
||||
[character]
|
||||
success_symbol = '[ ❯](bold green) '
|
||||
error_symbol = '[ ❯](bold red) '
|
||||
|
||||
[os.symbols]
|
||||
Windows = ""
|
||||
Ubuntu = ""
|
||||
@@ -64,95 +207,6 @@ Pop = ""
|
||||
"Téléchargements" = " "
|
||||
"Developer" = " "
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:#394260"
|
||||
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#394260"
|
||||
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[bun]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
style = "bg:#212736 fg:#a3aed2"
|
||||
format = '[$ssh_symbol]($style)[ $hostname ]($style)'
|
||||
# detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
||||
# trim_at = '.companyname.com'
|
||||
# aliases = { "Max's MacBook Pro" = "home" }
|
||||
disabled = false
|
||||
|
||||
[os]
|
||||
style = "bg:#394260 fg:#a3aed2"
|
||||
format = "[ $symbol ]($style)"
|
||||
disabled = false
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:#a3aed2 fg:#212736"
|
||||
style_root = "bg:#a3aed2 fg:red bold"
|
||||
format = '[ $user ]($style)'
|
||||
|
||||
[sudo]
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
style = "fg:#e3e5e5 bg:#769ff0"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[direnv]
|
||||
disabled = false
|
||||
|
||||
[mise]
|
||||
disabled = false
|
||||
|
||||
[docker_context]
|
||||
disabled = false
|
||||
|
||||
[kubernetes]
|
||||
disabled = false
|
||||
|
||||
[terraform]
|
||||
disabled = false
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "fg:#a3aed2"
|
||||
format = '[ $time ]($style)'
|
||||
# format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
||||
|
||||
[character]
|
||||
success_symbol = '[ ❯](bold green) '
|
||||
error_symbol = '[ ❯](bold red) '
|
||||
|
||||
# Nerdfont symbols
|
||||
#
|
||||
# ✓ ✗ ✔ ✘
|
||||
|
||||
Reference in New Issue
Block a user