mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Favor nix daemon mode
This commit is contained in:
parent
9ca56d83c7
commit
1f5a913bf7
1 changed files with 4 additions and 6 deletions
10
shell/nix
10
shell/nix
|
|
@ -1,9 +1,7 @@
|
||||||
if [[ -e /Users/lloeki/.nix-profile/etc/profile.d/nix.sh ]]; then
|
if [[ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]]; then
|
||||||
. /Users/lloeki/.nix-profile/etc/profile.d/nix.sh
|
. '/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'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#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'
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# vim: ft=bash
|
# vim: ft=bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue