From 261e1f44842e5ac1391004d265c374a9c1ccdbee Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 3 Jul 2023 13:34:01 -0700 Subject: [PATCH] home: set CARGO_TARGET_DIR to ~/.target/ --- hosts/home.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/home.nix b/hosts/home.nix index d364d9a..6bfe741 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -80,6 +80,9 @@ in home = { username = "${user}"; homeDirectory = "/home/${user}"; + sessionVariables = { + CARGO_TARGET_DIR = "$HOME/.target/"; + }; stateVersion = "22.05"; };