aboutsummaryrefslogtreecommitdiff
path: root/modules/home-environment.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-10-25 18:01:23 +0200
committerRobert Helgesson <robert@rycee.net>2018-01-05 08:09:18 +0100
commit59f44c1189967430dbf65b7f4f8656b21d4f0f84 (patch)
tree1ca8c27891ad0782282640bc1fee351e7f4bc81f /modules/home-environment.nix
parent02219dcd7996b6ee79eda412bb5a91bbd65c6ef8 (diff)
home-environment: run activation script in $HOME
This avoids issues when starting the activation script somewhere inaccessible.
Diffstat (limited to '')
-rw-r--r--modules/home-environment.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/home-environment.nix b/modules/home-environment.nix
index 6278591603e..f2936415976 100644
--- a/modules/home-environment.nix
+++ b/modules/home-environment.nix
@@ -281,6 +281,8 @@ in
set -eu
set -o pipefail
+ cd $HOME
+
export PATH="${activationBinPaths}"
. ${./lib-bash/color-echo.sh}