mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 04:23:18 +00:00
d06bcf4c97
PR #797
6 lines
271 B
Text
6 lines
271 B
Text
# Only source this once.
|
|
if [ -n "$__HM_SESS_VARS_SOURCED" ]; then return; fi
|
|
export __HM_SESS_VARS_SOURCED=1
|
|
|
|
export XDG_DATA_DIRS="/nix/var/nix/profiles/default/share:/homeless-shelter/.nix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
|
|
. "@nix@/etc/profile.d/nix.sh"
|