home-manager/tests
Damien Cassou 931653b99f
emacs: optionally start service with the session
Add services.emacs.startWithUserSession boolean to indicate that Emacs
must be started with the systemd user session. This is true by default
unless socket activation is also true.

In the past, the user had to choose between socket activation (to get
the Emacs service started when the user uses emacsclient) and
immediate start with the user session. When choosing immediate start
over socket activation and if the Emacs service is stopped at some
point, using emacsclient would start a new Emacs daemon but the
service would still be turned off. This situation would prevent
`home-manager switch` from completing successfully because it wouldn't
be able to start the Emacs service as Emacs is already running.

This new setting makes it possible to have both socket activation and
immediate start at the same time. In this scenario, Emacs is started
with the user session and, after the Emacs service is stopped, using
emacsclient starts the service again.

This new settings also makes it possible to have neither socket
activation nor immediate start.
2022-06-19 01:09:41 +02:00
..
lib/types types: fix `dagOf` behaviour with `mkIf` 2022-03-30 23:29:09 +02:00
modules emacs: optionally start service with the session 2022-06-19 01:09:41 +02:00
asserts.nix tests: fix test.assert.assertions.enable not working 2021-10-13 01:29:23 +02:00
big-test.nix tests: make `enableBig` an option 2022-01-02 10:36:52 +01:00
default.nix swaylock: Add module (#3003) 2022-06-07 21:01:14 +02:00
stubs.nix tests: add option `test.stubs` 2021-09-26 23:26:38 +02:00