From e8d5bc715a4a9baa70186ed4944ef03e83b904d8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 22 Jun 2020 11:28:08 +0200 Subject: Fix for upstream change to emacs daemon service My emacs config is currently impure as it implicitly depends on the user environment. --- gui/emacs.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui') diff --git a/gui/emacs.nix b/gui/emacs.nix index e213fe9..f9c2aa4 100644 --- a/gui/emacs.nix +++ b/gui/emacs.nix @@ -63,6 +63,8 @@ ln -s ${toString ./conf/init.el} ~/.emacs.d/init.el ''; + systemd.user.services.emacs.Service.ExecStart = pkgs.lib.mkForce "${pkgs.runtimeShell} -l -c 'exec emacs --fg-daemon'"; + services.emacs = { enable = true; client.enable = true; -- cgit v1.2.3