From b6ba13d0604a2c5e3876c9ee1ea79e449096d56b Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 21 Jul 2023 20:20:14 -0700 Subject: [PATCH] updates, and added consolidated cargo build dir --- flake.lock | 24 ++++++++++++------------ users/nixolas.nix | 5 +++++ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 21de68b..5631776 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ ] }, "locked": { - "lastModified": 1689447223, - "narHash": "sha256-A5vQBtWYamvGf3c2IEhAmwIkXBzuzrkpnMYbLvc+lEY=", + "lastModified": 1689891262, + "narHash": "sha256-Pc4wDczbdgd6QXKJIXprgxe7L9AVDsoAkMnvm5vmpUU=", "owner": "nix-community", "repo": "home-manager", - "rev": "f5b03feb33629cb2b6dd513935637e8cc718a5ba", + "rev": "ee5673246de0254186e469935909e821b8f4ec15", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "locked": { "dir": "nix", - "lastModified": 1688896102, - "narHash": "sha256-o8oo0tuRR6eYhh4IYnNaeQ810RdIeF9JJQdJHuzRN3U=", + "lastModified": 1689746732, + "narHash": "sha256-i3qalesDugeUDHOW4Lrj0pGgipbR+AMpB2+UQQj4n40=", "owner": "kmonad", "repo": "kmonad", - "rev": "19cccbf8988a67ff2e1fab14341230b220e4e5c8", + "rev": "41a41c8152f9561d6bc91e647d6d39f871f2972a", "type": "github" }, "original": { @@ -120,11 +120,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1689282004, - "narHash": "sha256-VNhuyb10c9SV+3hZOlxwJwzEGytZ31gN9w4nPCnNvdI=", + "lastModified": 1689940971, + "narHash": "sha256-397xShPnFqPC59Bmpo3lS+/Aw0yoDRMACGo1+h2VJMo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e74e68449c385db82de3170288a28cd0f608544f", + "rev": "9ca785644d067445a4aa749902b29ccef61f7476", "type": "github" }, "original": { @@ -167,11 +167,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1689103880, - "narHash": "sha256-vHRCkcpnBbFsPqUNXliUmdPU81jqyuL9ZPzj3vJx2RE=", + "lastModified": 1689610936, + "narHash": "sha256-g/+hhD6Kpz8EQvE93q3tpP58LBxNyR7f1UhREKZJvXM=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "69a4b7ad67d2732ba1f86666b3d4d2d83b15200e", + "rev": "a3b03d1b5af5112bc94b448879a2f401043b42ea", "type": "gitlab" }, "original": { diff --git a/users/nixolas.nix b/users/nixolas.nix index b9baef2..26d84ca 100644 --- a/users/nixolas.nix +++ b/users/nixolas.nix @@ -57,6 +57,11 @@ in username = user; homeDirectory = "/home/${user}"; + sessionVariables = { + CARGO_TARGET_DIR = "$HOME/.target/"; + }; + + # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards