summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/home.nix b/home.nix
index 14af2ee..44c27eb 100644
--- a/home.nix
+++ b/home.nix
@@ -2,6 +2,7 @@
let
solarized-xresources = ./xresources;
+ homedir = builtins.getEnv "HOME";
in
{
# Waiting for the accounts feature to land in the 18.03 release branch...
@@ -38,7 +39,7 @@ in
sessionVariables = {
EDITOR = "vim";
LANG = "en_US.UTF-8";
- PATH = "~/bin:~/.cabal/bin:~/.local/bin:$PATH";
+ PATH = "${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH";
PAGER = "less";
};
file = {