mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Unhardcode path to single-user nix
This commit is contained in:
parent
5619d5dccf
commit
b2bab0abfd
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue