Commit 968bb0831447

Vincent Demeester <vincent@sbr.pm>
2018-08-29 09:39:16
Add ASPELL_CONF dict to daemon environment
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3b4d311
Changed files (1)
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)";