mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01: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"
|