about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--desktop.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop.nix b/desktop.nix
index 56027e4397f0..61d2482c446e 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -29,8 +29,7 @@ in {
   services.xserver.windowManager.session = lib.singleton {
     name = "exwm";
     start = ''
-      ${emacs}/bin/emacs --daemon -f exwm-enable
-      ${emacs}/bin/emacsclient -c
+      ${emacs}/bin/emacs --eval '(progn (server-start) (exwm-enable))'
     '';
   };