commit 968bb0831447d12343c3832b9a5b03dfc9101b1f
parent 3b4d31129ec477cce8ca866dad6066f72e5d295c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 29 Aug 2018 09:39:16 +0200
Add ASPELL_CONF dict to daemon environment
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/emacs.nix b/emacs.nix
@@ -8,6 +8,7 @@
};
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";
Type = "forking";
ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon";
ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --eval (kill-emacs)";
@@ -23,6 +24,7 @@
};
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";
Type = "forking";
ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon=org";
ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --socket-name=org --eval (kill-emacs)";