xsession: source session variables script
This commit is contained in:
parent
4f9158e533
commit
a3250dfac7
|
@ -82,6 +82,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".xprofile".text = ''
|
home.file.".xprofile".text = ''
|
||||||
|
${optionalString (config.home.sessionVariableSetter != "pam")
|
||||||
|
''. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"''}
|
||||||
|
|
||||||
if [[ -e "$HOME/.profile" ]]; then
|
if [[ -e "$HOME/.profile" ]]; then
|
||||||
. "$HOME/.profile"
|
. "$HOME/.profile"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue