diff options
Diffstat (limited to 'infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xprofile-expected.txt')
-rw-r--r-- | infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xprofile-expected.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xprofile-expected.txt b/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xprofile-expected.txt new file mode 100644 index 000000000000..282f8f5c5de5 --- /dev/null +++ b/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xprofile-expected.txt @@ -0,0 +1,16 @@ +. "/home/hm-user/.nix-profile/etc/profile.d/hm-session-vars.sh" + +if [ -e "$HOME/.profile" ]; then + . "$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 + +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 + +profile extra commands + +export HM_XPROFILE_SOURCED=1 |