1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 08:19:48 +01:00
home-manager/tests/modules/services
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
..
barrier tests: add option test.stubs 2021-09-26 23:26:38 +02:00
devilspie2 tests: add option test.stubs 2021-09-26 23:26:38 +02:00
dropbox tests: add option test.stubs 2021-09-26 23:26:38 +02:00
emacs emacs: optionally start service with the session 2022-06-19 01:09:41 +02:00
espanso espanso: add module 2022-02-18 00:35:57 +01:00
flameshot flameshot: add settings option 2021-10-11 21:47:05 +02:00
fluidsynth tests: add option test.stubs 2021-09-26 23:26:38 +02:00
fnott fnott: remove global properties generation 2021-10-27 00:01:57 +02:00
fusuma fusuma: avoid unnecessary dependency in test 2022-03-13 23:23:41 +01:00
git-sync tests: add option test.stubs 2021-09-26 23:26:38 +02:00
gpg-agent gpg-agent: fix and enable tests 2021-12-08 00:01:29 +01:00
gromit-mpx gromit-mpx: add module 2021-12-11 19:17:59 +01:00
home-manager-auto-upgrade home-manager.autoUpgrade: add module 2022-01-28 23:42:25 +01:00
kanshi kanshi: allow multiple exec statements per profile 2021-10-03 09:47:22 +02:00
lieer notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
mopidy mopidy: add module 2022-05-19 00:31:37 +02:00
mpd tests: bump nmt 2022-03-23 23:57:20 +01:00
mpdris2 mpdris2: add basic test cases 2022-05-25 18:43:22 +02:00
pantalaimon tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pbgopy tests: add option test.stubs 2021-09-26 23:26:38 +02:00
picom picom: remove refreshRate option 2022-04-15 23:49:51 +02:00
playerctld playerctld: add module 2021-01-31 12:36:30 +01:00
polybar tests: add option test.stubs 2021-09-26 23:26:38 +02:00
redshift-gammastep tests: add option test.stubs 2021-09-26 23:26:38 +02:00
screen-locker screen-locker: Add option to configure x screensaver cycle (#2853) 2022-04-04 23:32:27 -04:00
swayidle swayidle: add module (#2610) 2022-01-03 12:03:20 -07:00
sxhkd tests: add option test.stubs 2021-09-26 23:26:38 +02:00
syncthing syncthing: add option extraOptions 2022-01-27 00:33:45 +01:00
trayer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
twmn twmn: add module 2022-02-04 01:05:04 +01:00
window-managers format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
wlsunset tests: add option test.stubs 2021-09-26 23:26:38 +02:00
xsettingsd xsettingsd: make configurable through module 2021-10-01 01:31:47 +02:00