1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00

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