1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
home-manager/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
..
redshift-gammastep Replace usage of literalExample 2021-10-13 00:16:10 +02:00
window-managers Make sway onChange script use cfg.package if set (#2937) 2022-05-05 21:29:20 -04:00
barrier.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
betterlockscreen.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
blueman-applet.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
caffeine.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
cbatticon.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
clipmenu.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
compton.nix picom: add module 2020-03-24 23:50:22 +01:00
devilspie2.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
dropbox.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dunst.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
dwm-status.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
easyeffects.nix dbus: improve recommended NixOS configuration 2021-09-23 22:35:30 +02:00
emacs.nix emacs: optionally start service with the session 2022-06-19 01:09:41 +02:00
espanso.nix espanso: add module 2022-02-18 00:35:57 +01:00
etesync-dav.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
flameshot.nix flameshot: extend module with package-option 2021-11-20 09:37:34 +01:00
fluidsynth.nix fluidsynth: add sound service option 2021-08-18 00:38:29 +02:00
fnott.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
fusuma.nix fusuma: add module 2022-03-13 22:17:55 +01:00
getmail.nix Use newer getmail6 over getmail package (#2982) 2022-06-05 11:48:58 +02:00
git-sync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gnome-keyring.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gpg-agent.nix gpg-agent: make shell integrations optional (#2927) 2022-04-30 18:38:36 -06:00
grobi.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
gromit-mpx.nix gromit-mpx: add module 2021-12-11 19:17:59 +01:00
home-manager-auto-upgrade.nix home-manager.autoUpgrade: add module 2022-01-28 23:42:25 +01:00
hound.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
imapnotify-accounts.nix imapnotify: add extraConfig account option 2021-10-18 09:45:23 +02:00
imapnotify.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
kanshi.nix kanshi: fix maintainers entry for nurelin 2021-12-29 09:50:57 +01:00
kbfs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
kdeconnect.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keepassx.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keybase.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
keynav.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
lieer.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
lorri.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mako.nix mako: add package option (#2955) 2022-05-13 08:27:23 -06:00
mbsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mopidy.nix mopidy: add module 2022-05-19 00:31:37 +02:00
mpd-discord-rpc.nix mpd-discord-rpc: init service (#2728) 2022-04-04 23:48:13 -04:00
mpd.nix treewide: apply nixfmt to a few more files 2022-02-27 02:19:44 +01:00
mpdris2.nix mpdris2: remove assertion on mpd module 2022-05-25 18:32:34 +02:00
mpris-proxy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
muchsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
network-manager-applet.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
nextcloud-client.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
notify-osd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
opensnitch-ui.nix opensnitch-ui: add module 2021-12-12 18:10:10 +01:00
owncloud-client.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pantalaimon.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
parcellite.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pass-secret-service.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
password-store-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pasystray.nix pasystray, status-notifier-watcher: fix maintainers entry for pltanton 2021-12-29 09:50:58 +01:00
pbgopy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
picom.nix picom: remove refreshRate option 2022-04-15 23:49:51 +02:00
plan9port.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
playerctld.nix playerctld: fix maintainers entry for fendse 2021-12-29 09:50:59 +01:00
plex-mpv-shim.nix plex-mpv-shim: init service (#2655) 2022-02-02 16:34:19 -05:00
polybar.nix polybar: use recursive config type (#2235) 2021-11-15 16:00:45 -05:00
poweralertd.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pulseeffects.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
random-background.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
rsibreak.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
screen-locker.nix screen-locker: Add option to configure x screensaver cycle (#2853) 2022-04-04 23:32:27 -04:00
spotifyd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
stalonetray.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
status-notifier-watcher.nix pasystray, status-notifier-watcher: fix maintainers entry for pltanton 2021-12-29 09:50:58 +01:00
swayidle.nix swayidle: Fix position of extraArgs (#2932) 2022-05-03 11:20:46 -06:00
sxhkd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
syncthing.nix syncthing: add cfg variable for convenience 2022-01-27 00:33:46 +01:00
systembus-notify.nix systembus-notify: add module 2021-12-21 23:35:56 +01:00
taffybar.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
tahoe-lafs.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
taskwarrior-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
trayer.nix trayer: fix maintainers entry for mager 2021-12-29 09:50:59 +01:00
twmn.nix twmn: add module 2022-02-04 01:05:04 +01:00
udiskie.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
unclutter.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
unison.nix unison: fix option example 2022-01-25 23:54:40 +01:00
volnoti.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
wlsunset.nix docs: fix a few stray periods 2022-01-25 00:10:25 +01:00
xcape.nix xcape: run xcape after setxkbmap (#2198) (#2199) 2021-07-19 21:16:14 -04:00
xembed-sni-proxy.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xidlehook.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xscreensaver.nix xscreensaver: add xscreensaver to service PATH 2022-04-25 23:05:43 +02:00
xsettingsd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsuspender.nix Move platform check into modules 2021-07-18 20:43:22 +02:00