From 1366b1d7b0a8a72fd13555067ec026c3cc5b01d1 Mon Sep 17 00:00:00 2001 From: aleidk Date: Fri, 22 Nov 2024 18:07:38 -0300 Subject: [PATCH] update thinkpad config --- .dotter/machines/fedora.toml | 12 +++++++++--- .dotter/pre_deploy.sh | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.dotter/machines/fedora.toml b/.dotter/machines/fedora.toml index 368f1da..291e7c8 100644 --- a/.dotter/machines/fedora.toml +++ b/.dotter/machines/fedora.toml @@ -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", ] diff --git a/.dotter/pre_deploy.sh b/.dotter/pre_deploy.sh index 0778ecf..92715f8 100644 --- a/.dotter/pre_deploy.sh +++ b/.dotter/pre_deploy.sh @@ -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 }}