aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/emacs.nix2
1 files changed, 2 insertions, 0 deletions
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;