1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-15 21:41:09 +01:00

services.emacs: add option extraOptions

This is to allow adding command-line arguments to the Emacs daemon.
Previously only the Emacs client could be started with custom
arguments.
This commit is contained in:
schotts-fired 2021-09-29 15:07:38 +02:00 committed by Robert Helgesson
parent d5151186ac
commit 0f3dfc94ef
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
7 changed files with 16 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[Service]
ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon='%t/emacs/server'"
ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon='%t/emacs/server' '-f' 'exwm-enable'"
ExecStartPost=@coreutils@/bin/chmod --changes -w %t/emacs
ExecStopPost=@coreutils@/bin/chmod --changes +w %t/emacs
Restart=on-failure