1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-04-13 15:57:47 +00:00
home-manager/tests/modules/home-environment/session-variables-expected.txt
Daniel Poelzleithner a8ac7d88b2 home-manager: include hm-session-vars.sh in activation script
The activation script should active the new environment. The new
environments variable are not available yet.
Source the environment file when activating
2023-10-17 00:21:13 +02:00

9 lines
306 B
Text

# Only source this once.
if [ -n "${__HM_SESS_VARS_SOURCED-}" ]; then return; fi
export __HM_SESS_VARS_SOURCED=1
@exportLocaleVar@
export V1="v1"
export V2="v2-v1"
export XDG_CACHE_HOME="/home/hm-user/.cache"
export XDG_CONFIG_HOME="/home/hm-user/.config"
export XDG_DATA_HOME="/home/hm-user/.local/share"