services.emacs.startWithUserSession

Home-Manager option

Whether to launch Emacs service with the systemd user session. If it is true, Emacs service is started by default.target. If it is "graphical", Emacs service is started by graphical-session.target.

type: boolean or value “graphical” (singular enum)
Default
!config.services.emacs.socketActivation.enable
Example
"graphical"
declared in: <home-manager/modules/services/emacs.nix>source unavailable