diff --git a/users/simon/modules/sway.nix b/users/simon/modules/sway.nix index 05e3dbb..029b36b 100644 --- a/users/simon/modules/sway.nix +++ b/users/simon/modules/sway.nix @@ -247,7 +247,7 @@ lib.mkIf nixosConfig.sbruder.gui.enable { programs.zsh.initExtra = '' if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then export XDG_SESSION_TYPE="wayland" # otherwise set to tty - unset __HM_SESS_VARS_SOURCED # otherwise sessionVariables are not updated + unset __HM_SESS_VARS_SOURCED __NIXOS_SET_ENVIRONMENT_DONE # otherwise sessionVariables are not updated exec systemd-cat -t sway sway fi '';