2020-04-24 19:41:22 +00:00
|
|
|
. "/home/hm-user/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
2019-06-23 12:06:29 +00:00
|
|
|
|
2019-09-11 18:11:16 +00:00
|
|
|
if [ -e "$HOME/.profile" ]; then
|
2019-06-23 12:06:29 +00:00
|
|
|
. "$HOME/.profile"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# If there are any running services from a previous session.
|
|
|
|
# Need to run this in xprofile because the NixOS xsession
|
|
|
|
# script starts up graphical-session.target.
|
|
|
|
systemctl --user stop graphical-session.target graphical-session-pre.target
|
|
|
|
|
2023-05-07 21:59:56 +00:00
|
|
|
systemctl --user import-environment 'DBUS_SESSION_BUS_ADDRESS' 'DISPLAY' 'SSH_AUTH_SOCK' 'XAUTHORITY' 'XDG_DATA_DIRS' 'XDG_RUNTIME_DIR' 'XDG_SESSION_ID' 'EXTRA_IMPORTED_VARIABLE'
|
2019-06-23 12:06:29 +00:00
|
|
|
|
|
|
|
profile extra commands
|
|
|
|
|
|
|
|
export HM_XPROFILE_SOURCED=1
|