aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-22 11:28:08 +0200
committerAdrian Kummerlaender2020-06-22 11:28:08 +0200
commite8d5bc715a4a9baa70186ed4944ef03e83b904d8 (patch)
treee066664f3cb3614080d859b25a6624f9e75322cc
parent5fcd04ac67c94d4ca249a8f212ebb5b423716454 (diff)
downloadnixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar.gz
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar.bz2
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar.lz
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar.xz
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.tar.zst
nixos_home-e8d5bc715a4a9baa70186ed4944ef03e83b904d8.zip
Fix for upstream change to emacs daemon service
My emacs config is currently impure as it implicitly depends on the user environment.
-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;