From 2ffb1c74adadce855d8e06ba78929051cdf8ba40 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 5 Oct 2023 23:55:38 +0100 Subject: [PATCH] flake.nix: load the environment variables --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 26f5da3b..e6eb8432 100644 --- a/flake.nix +++ b/flake.nix @@ -239,6 +239,9 @@ trap "rm -rf $HOME" EXIT ${homeManager.activationPackage}/activate + . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" + # Not sure why this variable is not filling up + export PATH="$HOME/.nix-profile/bin:$HOME" zsh -l && exit 0 '';