Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

services.emacs.enable

Whether to enable the Emacs daemon.

Type: boolean

Default:

false

Example:

true

Declared by:

services.emacs.package

The Emacs package to use.

Type: package

Default:

if config.programs.emacs.enable then config.programs.emacs.finalPackage
else pkgs.emacs

Declared by:

services.emacs.client.enable

Whether to enable generation of Emacs client desktop file.

Type: boolean

Default:

false

Example:

true

Declared by:

services.emacs.client.arguments

Command-line arguments to pass to emacsclient.

Type: list of string

Default:

[
  "-c"
]

Declared by:

services.emacs.defaultEditor

Whether to configure emacsclient as the default editor using the EDITOR and VISUAL environment variables.

Type: boolean

Default:

false

Example:

true

Declared by:

services.emacs.extraOptions

Extra command-line arguments to pass to emacs.

Type: list of string

Default:

[ ]

Example:

[
  "-f"
  "exwm-enable"
]

Declared by:

services.emacs.socketActivation.enable

Whether to enable systemd socket activation for the Emacs service.

Type: boolean

Default:

false

Example:

true

Declared by:

services.emacs.startWithUserSession

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 by: