diff --git a/shell/nix b/shell/nix index 62ec6ab..1822cfe 100755 --- a/shell/nix +++ b/shell/nix @@ -1,7 +1,7 @@ if [[ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]]; then . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' -elif [[ -e '/Users/lloeki/.nix-profile/etc/profile.d/nix.sh' ]]; then - . '/Users/lloeki/.nix-profile/etc/profile.d/nix.sh' +elif [[ -e "${HOME}/.nix-profile/etc/profile.d/nix.sh" ]]; then + . "${HOME}/.nix-profile/etc/profile.d/nix.sh" fi # vim: ft=bash