MyNixOS website logo
option

wayland.windowManager.sway.systemd.enable

Whether to enable sway-session.target on sway startup. This links to graphical-session.target. Some important environment variables will be imported to systemd and dbus user environment before reaching the target, including

  • DISPLAY
  • WAYLAND_DISPLAY
  • SWAYSOCK
  • XDG_CURRENT_DESKTOP
  • XDG_SESSION_TYPE
  • NIXOS_OZONE_WL
  • XCURSOR_THEME
  • XCURSOR_SIZE You can extend this list using the systemd.variables option.
Declarations
Type
boolean
Default
true
Example
false