mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
xsession: source session variables script
This commit is contained in:
parent
4f9158e533
commit
a3250dfac7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue