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 = [ dev = [
"gcc", "gcc",
"gcc-c++", "gcc-c++",
"just"
"nodejs", "nodejs",
"openssl", "openssl",
"openssl-devel", "openssl-devel",
"tmux", "tmux",
"tree-sitter-cli", "tree-sitter-cli",
] ]
[dev.variables.cargo.packages]
dev = [
"cocogitto"
]
[zsh.variables.packages] [zsh.variables.packages]
zssh = [ zsh = [
"zsh" "zsh"
] ]
[rust.variables] [rust.variables.cargo.packages]
cargo.packages = [ rust = [
"yazi-fm", "yazi-fm",
"yazi-cli", "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)) }} {{#if (and dotter.packages.rust (ne (len cargo.packages) 0)) }}
{{ header "Installing crates" }} {{ header "Installing crates" }}
cargo install --locked {{# each cargo.packages }} "{{ this }}" {{ /each }} cargo install --locked {{# each (flatten_table cargo.packages) }} "{{ this }}" {{ /each }}
{{ /if }} {{ /if }}