1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00
home-manager/modules
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
..
accounts neomutt: add support for signature command (#2899) 2022-04-29 14:01:53 -06:00
config home-cursor: fix x11 cursor path using invalid option (#2940) 2022-05-05 21:15:51 -04:00
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
launchd format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
lib swaylock: Add module (#3003) 2022-06-07 21:01:14 +02:00
lib-bash nix: add support for nix profile 2022-03-26 15:11:28 +01:00
misc Prepare inclusion in nixos-search (#2971) 2022-06-07 20:45:06 +02:00
po Add translation using Weblate (Finnish) 2022-06-15 23:44:57 +02:00
programs pywal: fixed i3 config (#3002) 2022-06-15 23:44:52 +02:00
services emacs: optionally start service with the session 2022-06-19 01:09:41 +02:00
targets targets.genericLinux: include additional directories in XCURSOR_PATH (#2902) 2022-04-19 20:04:10 -04:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix nix: add support for nix profile 2022-03-26 15:11:28 +01:00
home-environment.nix home-manager: Fix cross-compiles, fixes #2675 (#2893) 2022-04-14 20:58:15 -04:00
manual.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
modules.nix pywal: fixed i3 config (#3002) 2022-06-15 23:44:52 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: fix creation of user service unit files (#2867) 2022-04-07 02:38:20 -04:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix xsession: add xplugd service to accompany setxkbmap (#2450) 2021-12-23 15:38:44 -05:00