From 85450dd973ca5630212cc91ddd9a321d50c78084 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 18 Jun 2025 21:47:19 +0200 Subject: [PATCH] Add rust zsh config --- nix/user/sh.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/user/sh.nix b/nix/user/sh.nix index 93226b7..3eee73c 100644 --- a/nix/user/sh.nix +++ b/nix/user/sh.nix @@ -50,6 +50,11 @@ HISTCONTROL='erasedups:ignoreboth' HISTIGNORE='&:[ ]*:exit:ls:bg:fg:history:clear' unsetopt beep + + # Rustup initialization + export RUSTUP_HOME="$HOME/.rustup" + export CARGO_HOME="$HOME/.cargo" + [ -f "$CARGO_HOME/env" ] && . "$CARGO_HOME/env" ''; }; @@ -79,7 +84,7 @@ du-dust glow ripgrep-all - llm + (python313.withPackages(ps: [ ps.llm ps.llm-anthropic ps.llm-gemini ])) #nerdfonts ];