commit e4bb3a05f8aef6fc45a7428da0e84ed4510ec543 parent 83d58412ae0cf699cc270f14919f579c52549840 Author: Vincent Demeester <vincent@sbr.pm> Date: Wed, 29 Aug 2018 10:05:25 +0200 Try to fix it (at least it does not fail anymore…) Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | emacs.nix | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/emacs.nix b/emacs.nix @@ -7,8 +7,9 @@ Description = "Emacs: the extensible, self-documenting text editor"; }; Service = { - Environment = "PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; - Environment = "ASPELL_CONF=dict-dir /home/vincent/.nix-profile/lib/aspell"; + Environment = '' + PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell + ''; Type = "forking"; ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon"; ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --eval (kill-emacs)"; @@ -23,8 +24,9 @@ Description = "Emacs: the extensible, self-documenting text editor"; }; Service = { - Environment = "PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; - Environment = "ASPELL_CONF=dict-dir /home/vincent/.nix-profile/lib/aspell"; + Environment = '' + PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell + ''; Type = "forking"; ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon=org"; ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --socket-name=org --eval (kill-emacs)";