xsession: source session variables script

This commit is contained in:
Robert Helgesson 2018-01-04 13:28:55 +01:00
parent 4f9158e533
commit a3250dfac7
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -82,6 +82,9 @@ in
};
home.file.".xprofile".text = ''
${optionalString (config.home.sessionVariableSetter != "pam")
''. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"''}
if [[ -e "$HOME/.profile" ]]; then
. "$HOME/.profile"
fi