diff --git a/common/exwm.nix b/common/exwm.nix index 676be2f..12050e3 100644 --- a/common/exwm.nix +++ b/common/exwm.nix @@ -11,6 +11,8 @@ windowManager.session = [{ name = "my-exwm"; start = '' + systemctl --user import-environment PATH DISPLAY XAUTHORITY DESKTOP_SESSION XDG_CONFIG_DIRS XDG_DATA_DIRS XDG_RUNTIME_DIR XDG_SESSION_ID DBUS_SESSION_BUS_ADDRESS || true + dbus-update-activation-environment --systemd --all || true ${pkgs.myEmacs}/bin/emacs -l /home/benson/.emacs.d/init.el ''; }];