update thinkpad config

This commit is contained in:
Alexander Navarro 2024-11-22 18:07:38 -03:00
parent 7c0c670e29
commit 1366b1d7b0
2 changed files with 10 additions and 4 deletions

View file

@ -41,20 +41,26 @@ cli = [
dev = [
"gcc",
"gcc-c++",
"just"
"nodejs",
"openssl",
"openssl-devel",
"tmux",
"tree-sitter-cli",
]
[dev.variables.cargo.packages]
dev = [
"cocogitto"
]
[zsh.variables.packages]
zssh = [
zsh = [
"zsh"
]
[rust.variables]
cargo.packages = [
[rust.variables.cargo.packages]
rust = [
"yazi-fm",
"yazi-cli",
]

View file

@ -72,7 +72,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-mod
{{#if (and dotter.packages.rust (ne (len cargo.packages) 0)) }}
{{ header "Installing crates" }}
cargo install --locked {{# each cargo.packages }} "{{ this }}" {{ /each }}
cargo install --locked {{# each (flatten_table cargo.packages) }} "{{ this }}" {{ /each }}
{{ /if }}