commit 618d9130c74bc1cbb518bbe96bc2a940e829fc67 parent b5979ff605d44c526d71ce1902fe22f5c84d2ec5 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 9 Jul 2020 18:59:05 +0200 users/modules: no cfg.package for emacs-server Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | users/modules/services/emacs-server.nix | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/users/modules/services/emacs-server.nix b/users/modules/services/emacs-server.nix @@ -44,8 +44,8 @@ in Service = { ExecStart = - "${cfg.shell} 'exec ${cfg.package}/bin/emacs --fg-daemon=${cfg.name} ${cfg.extraOptions}'"; - ExecStop = "${cfg.package}/bin/emacsclient --eval '(kill-emacs)'"; + "${cfg.shell} 'exec emacs --fg-daemon=${cfg.name} ${cfg.extraOptions}'"; + ExecStop = "emacsclient --eval '(kill-emacs)'"; Restart = "on-failure"; };